Debug logging |13
Description
Enables or disables debug logging for a db module or submodules, with an option to filter by specific
criteria.
The no form of this command disables debug logging for the db module or submodule.
Parameter Description
all Enables all submodules for the db log.
sub-module Enables debug logging for supported submodules. Specify rx or
tx debug logs.
filter Specifies supported filters for the db log. Specify table,column,
or client. Optional
severity (emer|crit|alert|err|
notice|warning|info|debug)
Selects the minimum severity log level for the destination. If a
severity is not provided, the default log level is debug. Optional.
emer Specifies storage of debug logs with a severity level of emergency
only.
crit Specifies storage of debug logs with severity level of critical and
above.
alert Specifies storage of debug logs with severity level of alert and
above.
err Specifies storage of debug logs with severity level of error and
above.
notice Specifies storage of debug logs with severity level of notice and
above.
warning Specifies storage of debug logs with severity level of warning and
above.
info Specifies storage of debug logs with severity level of info and
above.
debug Specifies storage of debug logs with severity level of debug
(default).
Usage
DBlog is a high performance, configuration, and state database server logging infrastructure where a
user can log the transactions which are sent or received by clients to the configuration and state
database server. It can be enabled through the CLI and REST, and also supports filters where a user can
filter out logs on the basis of table, column, or client. It is helpful for debugging when the user wants to
debug an issue with a particular client, table, or column combination. It is not enabled by default. A
combination of filters can also be applied to filter out messages based on table, column, and client.
There are three submodules for the "db" module:
1. all: When All is enabled, no filters are applied to any of the debug logs, even if other submodules
are configured with filters.
2. tx: If enabled, only the replies and notifications sent out for the initial and incremental updates
are logged.