Skip to main content

Debugging & log levels

Things go wrong from time to time, the best way to understand more detail is to increase the log level verbosity.


LogLevels can be set as "error" "warn" "info" "debug" "trace", increasing in verbosity.

LogLevel = "info" # this is the default
#LogLevel = "debug"
#LogLevel = "trace" # don't leave this on in production!

This includes the Server and Agent

Server config file location:  /opt/knocknoc/etc/knocknoc.conf

Agent config file location: /opt/knocknoc-agent/etc/knocknoc-agent.conf