NTCIP Gateway Debug Flags
This chapter describes possible debug levels for the NTCIP gateway.
NTCIPLoggerFlags
The NTCIPGW Logger Flags define the logging details for the NTCIP communication library. Usually, they can be set to 0, which means no logging/tracing at all. However, during commissioning or testing, it is recommended to use these flags to get some insight into the NTCIP communication process. The flags are representing a bitmap pattern, therefore multiple flags can be activated by just adding the flag values given in the following table. The default setting is 0, which means that by default no flags are activated.
To activate the NTCIPGW Logger Flags the config entry [ntcipgw] NTCIPLoggerFlagsmust be used.
Label |
Number |
Bit |
Description |
---|---|---|---|
LOG_INIT |
2 |
1 |
Initialization process |
LOG_CONFIG |
4 |
2 |
Configuration Parameters |
LOG_COMMUNICATION |
8 |
3 |
Communication Details |
LOG_COMM_PACKETS |
16 |
4 |
The communicated data packets in detail |
LOG_WORKER |
32 |
5 |
The worker thread details |
LOG_SYSTEM |
64 |
6 |
The System MIB communication details |
LOG_PERFORMANCE |
128 |
7 |
SNMP call details for NFR checks |
LOG_TIMEMGMT |
256 |
8 |
NTCIP 1201 TimeManagement MIB |
LOG_SCHEDULE |
512 |
9 |
NTCIP 1201 Schedule MIB |
LOG_IO |
1024 |
10 |
NTCIP 1201 IOv2 |
LOG_VMSCONFIG |
4096 |
12 |
NTCIP 1203 VMS Configuration |
LOG_DEFAULTPARAM |
8192 |
13 |
NTCIP 1203 Multi Default Parameters |
LOG_FONT |
16384 |
14 |
NTCIP 1203 Font Management |
LOG_GRAPHIC |
32768 |
15 |
NTCIP 1203 Graphic Management |
LOG_CONTENT |
65536 |
16 |
NTCIP 1203 Content Management |
LOG_ILLUMINATION |
131072 |
17 |
NTCIP 1203 Illumination Control |
LOG_CONTROL |
262144 |
18 |
NTCIP 1203 DMS Control |
LOG_STATUS |
524288 |
19 |
NTCIP 1203 DMS Status |
LOG_TESTAPP |
268.435.456 |
28 |
NTCIP Gateway traces |
LOG_TOSentryERR |
536.870.912 29 |
29 |
traces to sentryerr - and to log files |
LOG_WITHFLAG |
1.073.741.824 |
30 |
trace output with flag |
LOG_WITHTIME |
2.147.483.648 |
31 |
trace with timestamp |