GX:File Logging

From coolearthwiki
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