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. Pick-to: 6.8 Change-Id: I2da4f841c42c6af6e73d09f19d9baada3582bcd1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
f5b7e8a3fb
commit
753d035e15
@ -17,5 +17,5 @@
|
|||||||
//! [2]
|
//! [2]
|
||||||
|
|
||||||
//! [3]
|
//! [3]
|
||||||
QT_LOGGING_RULES="*.debug=false;driver.usb.debug=true"
|
QT_LOGGING_RULES=*.debug=false;driver.usb.debug=true
|
||||||
//! [3]
|
//! [3]
|
||||||
|
@ -278,7 +278,7 @@ void QLoggingRegistry::initializeRules()
|
|||||||
{
|
{
|
||||||
if (qtLoggingDebug()) {
|
if (qtLoggingDebug()) {
|
||||||
debugMsg("Initializing the rules database ...");
|
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;
|
QList<QLoggingRule> er, qr, cr;
|
||||||
// get rules from environment
|
// get rules from environment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user