summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2024-02-19 11:30:51 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-02-19 12:19:49 +0000
commita0ab8d9cc69fa0c19c10ea61d38a180d2da9d657 (patch)
tree35e7fb0f956887b85151723436578da1194f4e2b
parentb823185f24fc09b6e972ea207111230689a7aea8 (diff)
doc: clarify what the am.qml* logging categories are meant for
Change-Id: I9e54f687e2ae2f01f3cd9e0dc55eb33968710b64 Pick-to: 6.6 6.5 Fixes: QTBUG-122425 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 1686a0dcb569cf052c43846df015540db285e095) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--doc/debugging.qdoc4
-rw-r--r--src/common-lib/logging.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/debugging.qdoc b/doc/debugging.qdoc
index 3488aef5..6ed2118a 100644
--- a/doc/debugging.qdoc
+++ b/doc/debugging.qdoc
@@ -23,6 +23,10 @@ The application manager defines the following logging categories:
\include logging.cpp am-logging-categories
+\note The \c{am.qml*} categories are just for reporting problems with the QML engine in the
+ application manager itself. Normal QML output via the \c console object is handled just
+ like \l {Debugging QML Applications} {in any other Qt application}.
+
\section2 Environment Variables
This is a (incomplete) list of environment variables that influence the logging output at runtime:
diff --git a/src/common-lib/logging.cpp b/src/common-lib/logging.cpp
index 302511ad..846ff624 100644
--- a/src/common-lib/logging.cpp
+++ b/src/common-lib/logging.cpp
@@ -71,7 +71,7 @@ static constexpr const char *s_defaultSystemUiDltDescription = "Qt Application M
\row
\li \c am.qml
\li \c QML
- \li General QML related messages
+ \li QML messages from the application manager
\row
\li \c am.runtime
\li \c RT
@@ -83,7 +83,7 @@ static constexpr const char *s_defaultSystemUiDltDescription = "Qt Application M
\row
\li \c am.runtime.qml
\li \c QMRT
- \li QML runtime messages
+ \li QML messages from the application managers's runtime
\row
\li \c am.notify
\li \c NTFY