-
Notifications
You must be signed in to change notification settings - Fork 0
logging
Moritz Lammerich edited this page Dec 1, 2019
·
1 revision
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 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 |