Forum Discussion

guruprasathb's avatar
guruprasathb
Regular Visitor
8 years ago

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

  • 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.

    • guruprasathb's avatar
      guruprasathb
      Regular Visitor

      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,

       

      • guruprasathb's avatar
        guruprasathb
        Regular Visitor

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

         

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