diff --git a/include/albert/logging.h b/include/albert/logging.h index d604cc065..20aea5ab5 100644 --- a/include/albert/logging.h +++ b/include/albert/logging.h @@ -7,7 +7,7 @@ Q_DECLARE_LOGGING_CATEGORY(AlbertLoggingCategory) /// @brief Defines the logging category used in DEBG, INFO, WARN, CRIT, GWARN, GCRIT /// @param name The name of the logging category -#define ALBERT_LOGGING_CATEGORY(name) Q_LOGGING_CATEGORY(AlbertLoggingCategory, name, QtMsgType::QtInfoMsg) +#define ALBERT_LOGGING_CATEGORY(name) Q_LOGGING_CATEGORY(AlbertLoggingCategory, name, QtMsgType::QtDebugMsg) /// @brief Creates a log object (level debug) you can use to pipe text into (<<). #define DEBG qCDebug(AlbertLoggingCategory,).noquote() diff --git a/src/albert.cpp b/src/albert.cpp index 9167bb866..44b64dd5e 100644 --- a/src/albert.cpp +++ b/src/albert.cpp @@ -211,6 +211,7 @@ int main(int argc, char **argv) QLoggingCategory::setFilterRules("*.debug=false\n*.info=false"); } else if (parser.isSet(opt_d)){ printSystemReport(); + QLoggingCategory::setFilterRules(""); } else QLoggingCategory::setFilterRules("*.debug=false");