Skip to content

logging

Moritz Lammerich edited this page Dec 1, 2019 · 1 revision

Logging

The log configuration is specified in config/core.json. The log level can be specified for each binding or plugin using the bindings and plugins maps respectively. You can also specify a default log level that applies to all plugins and bindings whose level is not explicitly set.

Loglevels

Loglevels are set in the logging object. There are 5 different log levels available:

  • debug
  • info
  • warning
  • error
  • off
loglevel description
off turns off all logging
error shows errors where the module (binding/plugin) could not complete a requested task (does not necessarily result in crash)
warning warns the user that something is probably not right, but operation is not hindered (unused/deprecated/redundant/ignored/… configuration setting, …)
info informational messages such as “item updated to “
debug further information that is useful when debugging, finding/eximining faulty behaviour, often produces a lot of output
Clone this wiki locally