Este conteúdo não está disponível no idioma selecionado.
Chapter 5. Web Administration Log Levels
In Web Administration, the log messages of different components and services are logged by tendrl-node-agent
. It receives all the log messages from other components via a socket and logs the messages using syslog
.
tendrl-node-agent
logs messages for the following Web Administration components:
Server-side Web Administration components:
-
tendrl-monitoring-integration
-
tendrl-notifier
Storage node-side Web Administration components:
-
tendrl-gluster-integration
These are the available log levels for Web Administration:
- DEBUG
- INFO
- WARNING
- ERROR (Default)
- CRITICAL
The log levels are case-sensitive. Input the log levels in uppercase format to avoid any error messages.
To change the default log level (ERROR), follow these steps:
Open the logging configuration yaml file in an editor:
/etc/tendrl/node-agent/node-agent_logging.yaml
/etc/tendrl/node-agent/node-agent_logging.yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Change the log level by modifying all instances of level variables under handlers and root:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Restart the
tendrl-node-agent
service by:service tendrl-node-agent restart
# service tendrl-node-agent restart
Copy to Clipboard Copied! Toggle word wrap Toggle overflow