steilerDev / homebridge-openhab2-complete

A homebridge plugin for openHAB, that has the expectation to fully support all Services offered by Apple's Homekit Accessory Protocol (HAP)
GNU General Public License v3.0
52 stars 16 forks source link

Option to reduce log writing #29

Closed EjvindHald closed 5 years ago

EjvindHald commented 5 years ago

The openHAb2-complete is really good stuff. However, as you add a lot of items, the log files grows significantly, as also all changes to item state are shown. I have a light sensor, which sends a new state every 5 seconds + all my temperature sensors with frequent updates.

Therefore, it would be a really nice feature, if it was possible somehow to switch between detailed and not detailed log information. Maybe in config.json or elsewhere.

Thanks.

Ejvind

steilerDev commented 5 years ago

Since I am using the native logger of homebridge you should address this issue in the homebridge project. As far as I can see you can only specify "Debug" or "Info", if you would could choose "Warning" or even "Error" this would reduce the amount significantly.