Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
143 stars 30 forks source link

Disable logging until needed #96

Closed billraff closed 1 year ago

billraff commented 1 year ago

Would it be possible to have a setting to disable logging until needed? Currently two lines are written to the log file in addons every X number of seconds (depending on when the refresh occurs). I'd like to see if we can disable until needed to troubleshoot a problem.

Dielee commented 1 year ago

Why do you need this feature ?

billraff commented 1 year ago

They cause a lot of sd card access and provide no value. I have no issue with warnings and errors being logged but would expect traces like these to only be needed if I enabled debugging.

Dielee commented 1 year ago

This option is available starting version v1.8.7. Please test!

billraff commented 1 year ago

Works wonderfully! Thanks for the work you do.