]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
by default disable debug log level
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Tue, 6 Jun 2023 12:44:17 +0000 (14:44 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Wed, 7 Jun 2023 07:41:22 +0000 (07:41 +0000)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/gui/application.h
src/libsync/configfile.cpp

index 664dae6a1b3769624b423bc1f01aa163e29d5e0c..bb9f97bef0b57a6a8d9ab6436c54fce0d8ea97c7 100644 (file)
@@ -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;
index 8f03fad456dc02b9f1dc6cae7ee5d1130841005c..c6447ffe52c1c54082057fba1d18b7a6fb35c6e4 100644 (file)
@@ -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)