Bläddra i källkod

rotate the logs less often (around every 3 MB of compressed logs)

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien 2 år sedan
förälder
incheckning
80cf8bf37f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/libsync/logger.cpp

+ 1 - 1
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)
 {