Homebridge-xiaomi-roborock-vacuum: Reduce amount of logs?

Created on 9 Jun 2020  路  4Comments  路  Source: homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum

Hello,

please advise, how I can reduce amount of logs? Currently 98% of all HB logs related to Vacuum cleaner.
image

enhancement good first issue

Most helpful comment

Maybe we can add a silent option that will avoid logging those status log entries?

It's interesting to me though: those INF getX logs are supposed to be shown only when Homekit is requesting those values or trying to set them. Seeing those entries repeated so often seems like Homekit is requesting them too often 馃

In other words: it shouldn't log that much when the app is closed, only when there is any activity going on. But still, we can add that silent flag if needed.

All 4 comments

Maybe we can add a silent option that will avoid logging those status log entries?

It's interesting to me though: those INF getX logs are supposed to be shown only when Homekit is requesting those values or trying to set them. Seeing those entries repeated so often seems like Homekit is requesting them too often 馃

In other words: it shouldn't log that much when the app is closed, only when there is any activity going on. But still, we can add that silent flag if needed.

The silent option would be very useful for all plugins, thanks! And logs type selection option would be even better. Some check-boxes for "info", "errors", "warnings", etc.

I just published 0.14.1 to add a silent configuration parameter that will only show warning and error logs (hiding all info and debug messages).

Thank you so much! What a relief now :) I have bow only ~10 log messages per minute, instead of 200+.
馃挴

Was this page helpful?
0 / 5 - 0 ratings