projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f44ed61
)
rotate the logs less often (around every 3 MB of compressed logs)
author
Matthieu Gallien
<matthieu.gallien@nextcloud.com>
Fri, 9 Jun 2023 13:41:07 +0000
(15:41 +0200)
committer
Matthieu 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
patch
|
blob
|
history
diff --git
a/src/libsync/logger.cpp
b/src/libsync/logger.cpp
index 657242a7c327e34d4800ff1aa6ffc37f4c59ae5f..cab592adfdb0a1590fb9cb3d29c6d3307c305c5b 100644
(file)
--- 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 * 3
0
;
static bool compressLog(const QString &originalName, const QString &targetName)
{