rotate log files every 3 MBs

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2023-06-06 14:45:02 +02:00
parent b28e635368
commit a34bac35b7
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553

View file

@ -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)
{