The end of life (EOL) date for this module is on 31 January, 2020.
Logging Configuration
Changing the log filename
The log filename is set in the LOG_FILENAME
property. Note that the ${instance.number:-0}
portion should be retained if starting multiple nodes from the same directory using the oacluster.sh
script.
<property name="LOG_FILENAME" value="geneos-openaccess.node${instance.number:-0}" />
Logging Levels
The following standard logging level are available in the Open Access Cluster.
TRACE
DEBUG
INFO
WARNING
ERROR
The overall logging level can be changed by modifying the root element:
<!-- Modify INFO below to change the overall log level -->
<root level="INFO">
<appender-ref ref="FILE" />
<appender-ref ref="STDOUT" />
</root>
Specific Logging Levels
Logging can be configured with levels for specific packages and classes.
Set the level to OFF
to disable logging for that item.
<!-- Modify INFO below to change the level for a specific class -->
<logger name="<path to class>" level="WARN" />
Advanced Configuration
Logback supports many more configuration options, such as configuring log rolling or formatting.
See the Logback Configuration manual for more information.