Difference between revisions of "GX:File Logging"

From coolearthwiki
Jump to: navigation, search
(Initial Revision)
 
m (Added Category for logging infrastructure)
 
Line 18: Line 18:
 
|MaxNumberLogFiles||Number of log files to automatically rotate through
 
|MaxNumberLogFiles||Number of log files to automatically rotate through
 
|}
 
|}
 +
 +
[[GX:Category:Logging|Category:Logging]]

Latest revision as of 13:23, 8 October 2010

Enabling

Add the following lines to the app.conf file

<add key="LoggingDirectory" value="c:\Temp"/>
<add key="EnableFileLogging" value="True"/>
<add key="MaxLogFileSize" value="12800000"/>
<add key="MaxNumberLogFiles" value="4"/>

Settings

Setting Description
LoggingDirectory Full path to directory to store logs
MaxLogFileSize Max size in bytes of logfiles before rotation
MaxNumberLogFiles Number of log files to automatically rotate through

Category:Logging