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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.