Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
guruprasathb
Regular Visitor

Power BI Log Files

There are quite few logs are generated by Power BI Services in the following folder (C:\Program Files\Microsoft Power BI Report Server\PBIRS\LogFiles). Is it possible to change the log file path? Thanks,
6 REPLIES 6
Maverik91
Helper II
Helper II

Hi everyone,  

I don’t know if this issue has ever been resolved, but in my case it was enough to modify the ReportingServiceService.exe.config file by adding the following line of code inside the <RStrace> section:  

<add name="Directory" value="U:\logs\" />  

Everything is explained at the following link:  

Report server service trace log - SQL Server Reporting Services (SSRS) | Microsoft Learn

Regards,  

Marco  

muchinski
Resolver II
Resolver II

You can set it on the "C:\Program Files\Microsoft Power BI Report Server\PBIRS\RSHostingService\config.json" file, changing the properties bellow for each executable:
"Logger.path": "..\\LogFiles\\",
"Dumper.path": "..\\LogFiles\\",

 

Please create a safe copy of this file bofore any change.

 

I was not able to find any official documentation regarding to this procedure. That would be nice if someone can complement the answer with a reference.

Hi,

 

I tried changing the value in config.json file and restarted the service. But it still creating in C:\ only.

 

"Logger.path": "E:\\LogFiles\\",
            "Dumper.path": "E:\\LogFiles\\",

 

Kindly advice.

 

 

Thanks,

 

Just noted this property in config.json file but still no luck.

 

"restartOnChangesTo": "Dumper.flags,Dumper.path,Dumper.preventIfContains,listenerUrl,Logger.path"

Still not able to come out of problem statement? Any other inputs!!

 

Thanks

PBIRS does maintain backward compatibility with older versions of SSRS, so this will still work: https://docs.microsoft.com/en-us/sql/reporting-services/report-server/report-server-service-trace-lo...

 

Having said that, the config in config.json should overlay that legacy config.  One thing to note about the config.json is that it is hierarchical.  So if you'd like to configure all processes to log to the same directory, it's best to do it in the top level config section, and then you can override that setting at the per-process level if necessary.

 

As an example, here's the first few lines of a config.json file that sets all of the processes' loggers to the c:\temp\logs directory:

 

 

{
    "Config":
    {
        "Logger.path": "C:\\temp\\logs\\",
        "Dumper.path": "C:\\temp\\logs\\",
        "ASPort": "5132",

...

...

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.