Logging flags
- Last UpdatedNov 17, 2022
- 1 minute read
The ModbusE interface allows the user to configure logging via the /logging startup command parameter. Logging will be turned off only if the /logging startup command parameter is set to zero.
Note: Even if the /logging parameter is set to zero, logging will still occur on critical errors. The logging flags are essentially used to allow logging of informational, warning and non-critical error messages.
Most logging flags are used to turn on logging of messages for particular issues in the interface. The exceptions are the reduced, warning, and info logging flags. The warning flag must be turned on to log warning messages, and the info flag must be turned on to log informational messages.
The table below lists all of the logging flags with their corresponding values:
|
Flag |
Valued |
Description |
|---|---|---|
|
Communications |
1 |
Log communications issues |
|
Requests |
2 |
Log Modbus request issues |
|
Responses |
4 |
Log Modbus response issues |
|
Tags |
8 |
Log tag issues |
|
Parameter |
16 |
Log parameter issues |
|
Configuration |
32 |
Log configuration failures |
|
Exception |
64 |
Log Modbus response exceptions |
|
Reduced |
8192 |
Reduced logging enabled (see Reduced logging for more details). |
|
Warning |
16384 |
Log warning messages |
|
Info |
32768 |
Log informational messages |