by default disable debug log level

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2023-06-06 14:44:17 +02:00
parent fe427364c2
commit b28e635368
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553
2 changed files with 2 additions and 2 deletions

View 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;

View 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)