From b28e6353689ef35820cab6c4e16146cfb6d92a0b Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 6 Jun 2023 14:44:17 +0200 Subject: [PATCH] by default disable debug log level Signed-off-by: Matthieu Gallien --- src/gui/application.h | 2 +- src/libsync/configfile.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/application.h b/src/gui/application.h index 664dae6a1..bb9f97bef 100644 --- a/src/gui/application.h +++ b/src/gui/application.h @@ -140,7 +140,7 @@ private: QString _logDir; int _logExpire = 0; bool _logFlush = false; - bool _logDebug = true; + bool _logDebug = false; bool _userTriggeredConnect = false; bool _debugMode = false; bool _backgroundMode = false; diff --git a/src/libsync/configfile.cpp b/src/libsync/configfile.cpp index 8f03fad45..c6447ffe5 100644 --- a/src/libsync/configfile.cpp +++ b/src/libsync/configfile.cpp @@ -1048,7 +1048,7 @@ void ConfigFile::setLogDir(const QString &dir) bool ConfigFile::logDebug() const { QSettings settings(configFile(), QSettings::IniFormat); - return settings.value(QLatin1String(logDebugC), true).toBool(); + return settings.value(QLatin1String(logDebugC), false).toBool(); } void ConfigFile::setLogDebug(bool enabled)