OpenZWave / qt-openzwave

QT5 Wrapper for OpenZWave
GNU Lesser General Public License v3.0
104 stars 30 forks source link

Logging should be configurable #54

Open loe opened 4 years ago

loe commented 4 years ago

Document QT_LOGGING_RULES=*.debug=false

https://doc.qt.io/qt-5/qloggingcategory.html has the details.

Fishwaldo commented 4 years ago

PR's welcome.

As its new, I've turned "up" logging till i'm happy its stable.

kpine commented 4 years ago

Adding QT_LOGGING_RULES="*.debug=false" to your docker environment will quiet things down significantly.

kpine commented 4 years ago

And QT_LOGGING_RULES="*.debug=false;ozw.library.debug=true" will result in something similar to the default OZW_Log.txt in OZW 1.4.

loe commented 4 years ago

@kpine - thanks, that works great! I'll amend this issue to just document the environment variable.