Details
Description
When the logging category name is a logging type name (debug, warning, info, critical), enabling logging isn't always straightforward.
An example from Qt itself is qt.scenegraph.info. It exhibits the following behavior:
No output:
QT_LOGGING_RULES="qt.scenegraph.info=true"
Correct output:
QT_LOGGING_RULES="qt.scenegraph.info.debug=true"
I would have expected the first formulation to produce output as well.
Alternatively, the behavior could be documented, and qt.scenegraph.info could be updated.
Attachments
For Gerrit Dashboard: QTBUG-54238 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
163049,6 | Document limitations and good practice for logging category names | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
163053,3 | Rename qt.scenegraph.info to qt.scenegraph.general | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |