Owner's Manual
5
Logging
The software uses different classes for logging, with each class providing different data depending on the
message type and level. To configure the logging class, edit the log-properties.xml file. The log is
saved as SDNC_VERBOSE.log, where each new version is appended with a number (for example,
SDNC_VERBOSE_1.log.
• TRACE — Logs TRACE messages only. Provides more detailed information than the DEBUG level.
• DEBUG — Logs TRACE and DEBUG messages. Provides high-level information for debugging.
• INFO — Logs TRACE, DEBUG, and INFO messages. Provides information about the progress of the
application at a low level, such as incoming and outgoing messages.
• WARN — Logs TRACE, DEBUG, INFO and WARN messages. Provides cautionary information, such as
lost connections and threshold limits.
• ERROR — Logs TRACE, DEBUG, INFO, WARN, and ERROR messages. Provides information about
critical situations.
• OFF — Disables logging.
Logging Sublevels
Logging sublevels provide five sublevels for the DEBUG and TRACE logging classes. You can classify
messages from 1 to 5 based on priority, with 1 as the highest priority and 5 as the lowest.
• To enable debugging, enter /sdnc/v1/system/log/level/debug/on.
• To use the debugging sublevels, enter sdnc/v1/system/log/level/debug/sublevel/
{1-5}/on.
• To disable debugging, enter /sdnc/v1/system/log/level/debug/off.
• To enable trace logging, enter /sdnc/v1/system/log/level/trace/sublevel/2/on.
• To use the trace logging sublevels, enter /sdnc/v1/system/log/level/trace/sublevel/[1–
5]/on.
• To disable trace logging, enter /sdnc/v1/system/log/level/trace/on.
You can also configure batch-level updates. For example, if you enter /sdnc/v1/system/log/level/
debug/sublevel/3/on
, debugging is enabled on levels 1–3. To disable trace logging on level one and
two, enter sdnc/v1/system/log/level/trace/sublevel/2/off.
Component Logging
Component logging provides additional tagging for DEBUG and TRACE sublevels. To enable component
logging, enter /sdnc/v1/system/log/component/*/on. To disable component logging, enter /
sdnc/v1/system/log/component/*/off
. You can also specify components. For example, to enable
component logging for the topology, enter /sdnc/v1/system/log/component/topology/off.
Logging
69