Difference between revisions of "GX:File Logging"

From coolearthwiki
Jump to: navigation, search
(Initial Revision)
(No difference)

Revision as of 12:31, 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