Zwave2Mqtt icon indicating copy to clipboard operation
Zwave2Mqtt copied to clipboard

[feat] Better logging

Open robertsLando opened this issue 4 years ago • 4 comments

Update logger to export error log and verbose methods and add an option to enable verbose loggind

robertsLando avatar Apr 30 '20 14:04 robertsLando

also is there an existing option, or perhaps add to the request, to forward logs to an external syslog? both openzwave and zwave2mqtt logs.

jaredgudnason avatar Apr 30 '20 17:04 jaredgudnason

also sorry to hijack thread, but one other question specifically around logging. is there an option anywhere to control the logging level of openzwave output? ie. debug, info, error, etc..

jaredgudnason avatar Apr 30 '20 17:04 jaredgudnason

Syslog, use logstash or fluentd to forward it. Given the variety of options, flags etc it’s better to not bake that into the app

chrisns avatar Apr 30 '20 19:04 chrisns

great, thanks for the info, i'll look into those options.

jaredgudnason avatar Apr 30 '20 19:04 jaredgudnason