mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +03:00
by default disable debug log level
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
fe427364c2
commit
b28e635368
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue