View Setting LogState Value in the ini File
Category:Tech Support Staff Only
Setting LogState Value in the ini File
The ini files used by Agent, Dispatcher, Bridges, HGUtils, etc. can be set to enable, by default, certain logging parameters. The ini command files look similar to this:
BridgeLogTraceStates=
HgutilsLogTraceState=
HWeb Agent / Dispatcher / Admin Logging:
Log Trace Settings are set via the application configuration dialog and are not generally set within the ini. To access the application config settings: Tools > Configuration > Log SettingsThe Items that can be enabled with a check mark are:
Error
Info
Debug
Program
Params
Log
The format of the ini setting is therefore:
LogStates=Error|Info|Debug|Program|Params|Log|
Enabling Error and Program logging would therefore be written:
LogStates=1|0|0|1|0|0|
HWeb Bridge Logging
The sequence of parameters traced in a Bridge Log:
ERROR|INFO|DEBUG|PROGRAM|DBFIELD|TIMER|SOCKMSG|WARNING|DATA|UPLOAD|FTP|REQUEST|FLIGHTINFO|SOCKETS|TXDATA|RXDATA|STATISTICS|GDF|GDFDUMP|JCLIENT
A sample BridgeLogTraceStates might appear:
BridgeLogTraceStates=1|1|0|0|0|0|0|0|1|0|0|0|1|0|0|1|0|0|0|0|1|
