GX:File Logging

From coolearthwiki
Revision as of 12:23, 8 October 2010 by Nrb (Talk) (Added Category for logging infrastructure)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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