From 360fd93397639c75f7244ee42596b39d1af980a1 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Fri, 9 Jun 2023 15:41:07 +0200 Subject: [PATCH] rotate the logs less often (around every 3 MB of compressed logs) Signed-off-by: Matthieu Gallien --- src/libsync/logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {