summaryrefslogtreecommitdiff
path: root/src/tools/clangbackend/source/clangtranslationunitupdater.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2018-10-12 09:33:30 +0300
committerOrgad Shaneh <orgads@gmail.com>2018-10-13 16:36:58 +0000
commitbdc2b4b59f982eb0a92a19b86b374a669036c913 (patch)
tree2b2b10a01f97c0cfef87995bc990026bdc694964 /src/tools/clangbackend/source/clangtranslationunitupdater.cpp
parenta27d4e9455fd0bd865a5b72f2ea3636ab5dfed6e (diff)
downloadqt-creator-bdc2b4b59f982eb0a92a19b86b374a669036c913.tar.gz
Remove hard-coded disabling of debug logs
Instead, set the default level of all logs to QtWarningMsg. The call to setFilterRules overrides the user preferences in qtlogging.ini. Change-Id: Id5f6cd550d14ff7f45ae04c5d3110e0bafb0f072 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/tools/clangbackend/source/clangtranslationunitupdater.cpp')
-rw-r--r--src/tools/clangbackend/source/clangtranslationunitupdater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clangbackend/source/clangtranslationunitupdater.cpp b/src/tools/clangbackend/source/clangtranslationunitupdater.cpp
index c74e626ffb..a45a898738 100644
--- a/src/tools/clangbackend/source/clangtranslationunitupdater.cpp
+++ b/src/tools/clangbackend/source/clangtranslationunitupdater.cpp
@@ -32,7 +32,7 @@
#include <QLoggingCategory>
-static Q_LOGGING_CATEGORY(verboseLibLog, "qtc.clangbackend.verboselib");
+static Q_LOGGING_CATEGORY(verboseLibLog, "qtc.clangbackend.verboselib", QtWarningMsg);
static bool isVerboseModeEnabled()
{