nitaybz / homebridge-switcher-platform

Homebridge plugin for Switcher Smart Accessories
MIT License
35 stars 9 forks source link

Plugin info printed to the log #21

Closed lioramsalem closed 2 years ago

lioramsalem commented 3 years ago

Hi, Started using the plugin few weeks ago, works great! Thanks! My config is minimal: { "name": "Switcher", "platform": "SwitcherPlatform" }

But I still get information printed in the logs, for example: [7/9/2021, 7:26:16 PM] [Switcher] Switcher Switcher Touch XXXX is INACTIVE [7/9/2021, 8:44:33 PM] [Switcher] Switcher Switcher Touch XXXX is INACTIVE [7/9/2021, 8:44:47 PM] [Switcher] Switcher Switcher Touch XXXX is INACTIVE [7/9/2021, 10:56:16 PM] [Switcher] Switcher Switcher Touch XXXX is INACTIVE [7/9/2021, 11:17:14 PM] [Switcher] Switcher Switcher Touch XXXX is INACTIVE

That's messes up the log and makes it hard to find real issues from homebridge or other plugins.

Can those prints be under debug: info option or something similar? I expect prints of warnings/errors only if debug is off.

Thanks in advance!

albilia commented 3 years ago

+1

nitaybz commented 2 years ago

hidden in the latest version 4.2 it will be printed only with debug logs active