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.
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>
Don't see what you're looking for? Try a search.
|