The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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",
...
...