Sometimes you have to set a specific OpenNMS daemon to DEBUG mode to find issues in your configuration. Depending of the environments size OpenNMS can create many log entries while being in DEBUG mode. But in some cases the log rotation is faster than an editor can open a log file and the amount of logs is increasing heavily. Especially collectd can be extremely chatty and it seems to be impossible to grep the needed parts out of it.

But the solution is simple. Since OpenNMS uses Log4j2 it's possible to create specific rules to pipe out node and daemon related logs into a separate log file.

Follow our wiki article to get more information:

Jump to section

About the Author: mfuhrmann

Published On: June 22nd, 2018Last Updated: April 4th, 20191 min readTags: , ,