Increase application logging level
WARNING
This feature must only be activated in case of support request.
Logging level can be updated per service by adding the following Docker swarm
configuration: logging_level.yaml
. The new configuration is applied using
the configuration step.
The logging_level.yaml
configuration contains a logger
yaml dictionary. Here
is the full configuration with the defaults per service:
logger:
traefik:
log: # Accepted values: DEBUG, INFO, WARN, ERROR, FATAL, PANIC
level: "ERROR"
access: # Accepted values: false, true
enabled: false
proxy_http:
error: # Accepted values: debug, info, notice, warn, error, crit, alert, emerg
level: "error"
access: # Accepted values: 0 (false), 1 (true)
enabled: 0
tpdx_admin:
all: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
tpdx_core:
all: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
tpx_flow_api:
all: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
tpx_flow_hub:
all: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
tpx_flow_bridge:
all: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
tpx_flow_supervisor:
all: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
tpx_flow_engine: # Accepted values: error, warn, info, http, verbose, debug, silly
level: "error"
node_red: # Accepted values: trace, debug, info, warn, error, fatal
level: "error"
sql:
wsrep: # Accepted values: NONE, SERVER, TRANSACTION, STREAMING, CLIENT
level: "NONE"
warnings: # Accepted values: 0 - 9
level: 2
slow_query: # Accepted values: 0 (false), 1 (true)
enabled: 0
mongo: # Accepted values: 0 - 5
verbosity: 0
zookeeper: # Accepted values: ALL, TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
kafka: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
kafka:
level: "ERROR"
org.apache.kafka:
level: "ERROR"
kafka.request.logger:
level: "ERROR"
kafka.network.RequestChannel:
level: "ERROR"
kafka.controller:
level: "ERROR"
kafka.log.LogCleaner:
level: "ERROR"
state.change.logger:
level: "ERROR"
kafka.authorizer.logger:
level: "ERROR"
twa: # Accepted values: ALL, CONFIG, DEBUG, ERROR, FATAL, FINE, FINER, FINEST, INFO, OFF, SEVERE, TRACE, WARN, WARNING
consoleHandler:
level: "ALL"
root:
level: "ERROR"
access:
level: "OFF"
httpConnector:
level: "OFF"
fullProvisioning:
level: "OFF"
twa_admin:
apacheError: # Accepted values: debug, info, notice, warn, error, crit, alert, emerg, trace1, trace2, trace3, trace4, trace5, trace6, trace7, trace8
level: "error"
apacheAccess: # Accepted values: false, true
enabled: "false"
twaAdmin: # Accepted values: LOG_ERR, LOG_INFO, LOG_DEBUG
level: "LOG_ERR"
twa_ran:
all: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
twa_dev:
all: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
twa_task_res:
all: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
task_notif_ws:
all: # Accepted values: TRACE, DEBUG, INFO, WARN, ERROR, OFF
level: "ERROR"
twa_alarm_notif:
all: # Accepted values: DEBUG, INFO, WARN, ERROR, CRIT, ALER, EMERG
level: "ERROR"
rca: # Accepted values: ALL, CONFIG, DEBUG, ERROR, FATAL, FINE, FINER, FINEST, INFO, OFF, SEVERE, TRACE, WARN, WARNING
all:
level: "ERROR"
smp_tpe: # Accepted values: false, true
requestLoggerEnabled: "false"
lrc:
lrc: # Accepted values: 0 - 9
level: 0
lrcBindingHttp: # Accepted values: ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF
level: "ERROR"
ftp: # Accepted values: false, true
enabled: "false"
support: # Accepted values: DEBUG3, DEBUG2, DEBUG1, DEBUG, VERBOSE, INFO, ERROR, FATAL, QUIET
level: "ERROR"
lrc_proxy:
global: # Accepted values: debug, info, notice, warning, err, crit, alert, emerg
level: "err"
cups: # Accepted values: DEBUG, INFO, ERROR
level: "ERROR"
lns_bridge:
log: # Accepted values: DEBUG, INFO, WARNING, ERROR, CRITICAL
level: "ERROR"
track: # Accepted values: false, true
enabled: "false"
wlogger: # Accepted values: ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF
level: "ERROR"
locsolver: # Accepted values: 0 - 1
level: 0
shellinabox: # Accepted values: debug, verbose, quiet
level: "verbose"
post_upgrade: # Accepted values: DEBUG, ERROR, INFO
level: "ERROR"
Example 1: Enable proxy_http access logs
- Create the logging_level.yml configuration
$ docker config create logging_level.yml -
logger:
proxy_http:
access:
enabled: 1
<CTRL+D to quit>
Example 2: Enable proxy_http access logs AND set twa-ran logging to INFO
- Create the logging_level.yml configuration
$ docker config create logging_level.yml -
logger:
proxy_http:
access:
enabled: 1
twa_ran:
all:
level: "INFO"
<CTRL+D to quit>
Restore default configuration
To restore the default configuration:
- Remove the logging_level.yml configuration
docker config rm logging_level.yml