all groups > sql server reporting services > april 2005 >
You're in the

sql server reporting services

group:

Change location of RS log files?


Change location of RS log files? Matthew Brown
4/5/2005 11:08:26 AM
sql server reporting services: Hi,

How can I change the location where the RS log files are
stored/created? The .config file seems to have options to change the
filename, but will this allow me to specify a different folder as
well?

We would like to put these files on a seperate hard drive from our
main application drive, in case the log files ever happen to grow
exponentially and fill the entire DB again.

RE: Change location of RS log files? CrazyHarryDBA
5/3/2005 8:59:07 AM
Each of the following files for MS Reporting Services has a section called
RStrace that contains the settings for the log files.

....\ReportServer\bin\ReportingServicesService.exe.config
…\ReportServer\web.config
…\ReportManager\web.config

A default installation writes the log files to the directory where Reporting
Services is installed under the LogFiles folder. In order to change the
default location of the log files you need to add the following line under
the RStrace section for each of the above files. Once you have added the
directory line you will need to restart the ReportServer service.

<add name=”Directory” value=”your dir” />

Example:
<RStrace>
<add name="Directory" value="d:\RSLogs" />
<add name="FileName" value="ReportServerService_" />
<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" />
</RStrace>
AddThis Social Bookmark Button