From: Matthieu Gallien Date: Fri, 9 Jun 2023 13:41:07 +0000 (+0200) Subject: rotate the logs less often (around every 3 MB of compressed logs) X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=80cf8bf37f868eebfe11cbc0d649bc1d4d50ef0d;p=nextcloud-desktop.git rotate the logs less often (around every 3 MB of compressed logs) Signed-off-by: Matthieu Gallien --- diff --git a/src/libsync/logger.cpp b/src/libsync/logger.cpp index 657242a7c..cab592adf 100644 --- a/src/libsync/logger.cpp +++ b/src/libsync/logger.cpp @@ -36,7 +36,7 @@ namespace { constexpr int CrashLogSize = 20; -constexpr int MaxLogSizeBytes = 1024 * 1024 * 3; +constexpr int MaxLogSizeBytes = 1024 * 1024 * 30; static bool compressLog(const QString &originalName, const QString &targetName) {