The logger component automatically logs all log messages to STDOUT.
If you are running boneIO as a service, then all logs should be visible via command journalctl -u boneio
or journalctl -f
.
Default log level is INFO
.
If you run boneIO app from command line, there are arguments:
-d
or -dd
eg
boneio run -c config.yaml -d
boneio run -c config.yaml -dd
Debug logger can be configured via yaml.
logger:
default: DEBUG
logs:
pymodbus.client: DEBUG