Explorar el Código

rotate log files every 3 MBs

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien hace 2 años
padre
commit
747c4dcf2f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 * 512;
+constexpr int MaxLogSizeBytes = 1024 * 1024 * 3;
 
 static bool compressLog(const QString &originalName, const QString &targetName)
 {