QLoggingRegistry: Misc fixes
Fix the name of the env var in the debug output for QT_LOGGING_CONF and adjust the documentation to not suggest to add quotes around the value of QT_LOGGING_RULES as this will not get properly parsed. Change-Id: I2da4f841c42c6af6e73d09f19d9baada3582bcd1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 753d035e152f0572ba99717d04116a882a506bef) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
2f8d5ea487
commit
328a2642dd
@ -17,5 +17,5 @@
|
||||
//! [2]
|
||||
|
||||
//! [3]
|
||||
QT_LOGGING_RULES="*.debug=false;driver.usb.debug=true"
|
||||
QT_LOGGING_RULES=*.debug=false;driver.usb.debug=true
|
||||
//! [3]
|
||||
|
@ -278,7 +278,7 @@ void QLoggingRegistry::initializeRules()
|
||||
{
|
||||
if (qtLoggingDebug()) {
|
||||
debugMsg("Initializing the rules database ...");
|
||||
debugMsg("Checking %s environment variable", "QTLOGGING_CONF");
|
||||
debugMsg("Checking %s environment variable", "QT_LOGGING_CONF");
|
||||
}
|
||||
QList<QLoggingRule> er, qr, cr;
|
||||
// get rules from environment
|
||||
|
Loading…
x
Reference in New Issue
Block a user