ebaauw / homebridge-nb

Homebridge plugin for Nuki Bridge
Apache License 2.0
51 stars 3 forks source link

Unnecessary logs regarding the last update #123

Closed maxileith closed 10 months ago

maxileith commented 10 months ago

Hello,

I would like to point out an issue that I have with this plugin. It is nothing functional but it bothers me when looking at the logs. The plugin logs the last update time every minute. This basically floods the logs, especially noticeable when you are not at home since no other plugin logs when nothing is happening. I think the plugin should only log on state changes or when an update attempt fails. Logging the last update timestamp should rather be on debug loglevel.

Looking forward to your thoughts on that @ebaauw .

ebaauw commented 10 months ago

Set Log Level on the accessory to 0 suppress the log messages.

Maxiklaxi commented 10 months ago

I feel the same as Maxi does. It's an unnecessary amount of logs. I want to see changes and important things in my logs. I also want to see when the status of my door changes and not disable all logs about it. I would really look forward to see a small update update there.

ebaauw commented 10 months ago

I want

You're more than welcome to write your own plugin.