Difference between revisions of "GX:File Logging"
From coolearthwiki
								
												
				 (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 17: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 |