How to turn off logging RRS feed

  • Question

  • Hello,
    did anyone know how to turn off the logging of the reportserver?
    It writes the logfiles into the ...\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer directory.

    Thanks for your help.
    Christian Niehaves
    Thursday, May 4, 2006 6:26 AM


  • Since there are two processes, there are two places you need to go to in order to disable logging to a file.  The first is in the web.config file in the ReportServer directory. 

    You should see something that looks like this:

        <add name="FileName" value="ReportServer_" />
        <add name="FileSizeLimitMb" value="32" />
        <add name="KeepFilesForDays" value="14" />
        <add name="Prefix" value="tid, time" />
        <add name="TraceListeners" value="debugwindow, file" />
        <add name="TraceFileMode" value="unique" />
        <add name="Components" value="all,RunningJobs:3,SemanticQueryEngine:2,SemanticModelGenerator:2,Session:4" />

    In the "TraceListeners" section, get rid of ", file".

    You need to do the same thing in the ReportServer\bin\ReportingServicesService.exe.config file.

    All of that said, you can reduce the amount of log generated to only warnings and errors by setting the values to "2" for all of the components.

    Thursday, May 4, 2006 8:25 PM