ebaauw / homebridge-ws

Homebridege plugin for virtual weather station
Apache License 2.0
106 stars 4 forks source link

Option to disable logging #18

Closed iwensfortis closed 4 years ago

iwensfortis commented 4 years ago

Describe the bug

Seams the ws plug-in is logging every update to the log which clutters the log is there an option to disable the logging of the plug-in?

To Reproduce Steps to reproduce the behavior:

Just start plugin every 10 minutes it writes a couple of log lines to the main log.

Expected behavior

An option to only log plugin errors to the main log.

Latest version fresh install 2 days ago.

ebaauw commented 4 years ago

Please provide your thoughts how best to implement this to https://github.com/ebaauw/homebridge-lib/issues/26.

ebaauw commented 4 years ago

In v2.3.0. Note that you need to issue multiple Identify requests to change the level of logging. Please let me know if that works, or if I should expose another characteristic for it.