Commit 1df58005 authored by Thomas Hartmann's avatar Thomas Hartmann

Adding logging rule qtc.*.info=false to disable output by default

I also added the qtc prefix to all logging categories.

Task-number: QTCREATORBUG-16767
Change-Id: I04214dba9912fe6c669f10566582d6009b5d75f0
Reviewed-by: default avatarRobert Loehning <robert.loehning@qt.io>
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent 99411324
......@@ -309,7 +309,8 @@ int main(int argc, char **argv)
{
const char *highDpiEnvironmentVariable = setHighDpiEnvironmentVariable();
QLoggingCategory::setFilterRules(QLatin1String("qtc.*.debug=false"));
QLoggingCategory::setFilterRules(QLatin1String("qtc.*.debug=false\nqtc.*.info=false"));
#ifdef Q_OS_MAC
// increase the number of file that can be opened in Qt Creator.
struct rlimit rl;
......
......@@ -42,7 +42,7 @@
#include <QPen>
#include <qdebug.h>
static Q_LOGGING_CATEGORY(itemlibraryPopulate, "itemlibrary.populate")
static Q_LOGGING_CATEGORY(itemlibraryPopulate, "qtc.itemlibrary.populate")
static bool inline registerItemLibrarySortedModel() {
qmlRegisterType<QmlDesigner::ItemLibrarySectionModel>();
......
......@@ -53,8 +53,8 @@
#include <QMessageBox>
#include <QThread>
static Q_LOGGING_CATEGORY(puppetStart, "puppet.start")
static Q_LOGGING_CATEGORY(puppetBuild, "puppet.build")
static Q_LOGGING_CATEGORY(puppetStart, "qtc.puppet.start")
static Q_LOGGING_CATEGORY(puppetBuild, "qtc.puppet.build")
namespace QmlDesigner {
......
......@@ -59,7 +59,7 @@
using namespace LanguageUtils;
using namespace QmlJS;
static Q_LOGGING_CATEGORY(rewriterBenchmark, "rewriter.load")
static Q_LOGGING_CATEGORY(rewriterBenchmark, "qtc.rewriter.load")
namespace {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment