rotate the logs less often (around every 3 MB of compressed logs)
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 9 Jun 2023 13:41:07 +0000 (15:41 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Mon, 12 Jun 2023 17:10:13 +0000 (19:10 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/logger.cpp

index 657242a7c327e34d4800ff1aa6ffc37f4c59ae5f..cab592adfdb0a1590fb9cb3d29c6d3307c305c5b 100644 (file)
@@ -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)
 {