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>
This commit is contained in:
Orgad Shaneh
2018-10-12 09:33:30 +03:00
committed by Orgad Shaneh
parent a27d4e9455
commit bdc2b4b59f
87 changed files with 84 additions and 98 deletions

View File

@@ -59,9 +59,9 @@ using namespace Utils;
using namespace ProjectExplorer;
namespace {
Q_LOGGING_CATEGORY(baseLog, "qtc.vcs.base")
Q_LOGGING_CATEGORY(findRepoLog, "qtc.vcs.find-repo")
Q_LOGGING_CATEGORY(stateLog, "qtc.vcs.state")
Q_LOGGING_CATEGORY(baseLog, "qtc.vcs.base", QtWarningMsg)
Q_LOGGING_CATEGORY(findRepoLog, "qtc.vcs.find-repo", QtWarningMsg)
Q_LOGGING_CATEGORY(stateLog, "qtc.vcs.state", QtWarningMsg)
}
/*!