qt-openzwave icon indicating copy to clipboard operation
qt-openzwave copied to clipboard

Logging should be configurable

Open loe opened this issue 4 years ago • 4 comments

Document QT_LOGGING_RULES=*.debug=false

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

loe avatar Mar 10 '20 19:03 loe

PR's welcome.

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

Fishwaldo avatar Mar 13 '20 04:03 Fishwaldo

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

kpine avatar Mar 15 '20 01:03 kpine

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.

kpine avatar Mar 15 '20 01:03 kpine

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

loe avatar Mar 16 '20 04:03 loe