It includes following sections:
The CIS services log level is configured using CIS management console. For more information, see General.
The CIS agents log level can be set at global configuration (all OES server agents) and individual OES server agents using CIS management console. For more information, see Section 6.1.8, Agents.
The infrastructure services includes ZooKeeper, Elasticsearch, and Kafka services configured in high availability nodes. You must login to all the nodes and then configure the log level for each infrastructure services separately.
Open a terminal console, then log in as a root user.
Configure log level for the following infrastructure services:
ZooKeeper: Go to /etc/opt/novell/cis/zk/log4j.properties and configure the required log level in rootLogger.level parameter.
For example, to set Debug log level for ZooKeeper, add the following in /etc/opt/novell/cis/zk/log4j.properties.
zookeeper.root.logger=DEBUG, CONSOLE
zookeeper.console.threshold=WARN
Elasticsearch: Go to /etc/opt/novell/cis/es/log4j2.properties and configure the required log level in rootLogger.level parameter.
For example, to set Debug log level for Elasticsearch, add the following in /etc/opt/novell/cis/es/log4j2.properties.
rootLogger.level = debug
Kafka: Go to /etc/opt/novell/cis/kafka/log4j.properties and configure the required log level in log4j.rootLogger parameter.
For example, to set Debug log level for Kafka, add the following in /etc/opt/novell/cis/kafka/log4j.properties.
log4j.rootLogger=DEBUG, stdout
The log levels supported are: Trace, Debug, Info, Warn, and Error. The default value is Warn.
Restart docker services on all the infrastructure HA nodes using the following command:
systemctl restart docker.service