mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 12:19:03 +03:00
rotate log files every 3 MBs
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
b28e635368
commit
a34bac35b7
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
constexpr int CrashLogSize = 20;
|
constexpr int CrashLogSize = 20;
|
||||||
constexpr int MaxLogSizeBytes = 1024 * 512;
|
constexpr int MaxLogSizeBytes = 1024 * 1024 * 3;
|
||||||
|
|
||||||
static bool compressLog(const QString &originalName, const QString &targetName)
|
static bool compressLog(const QString &originalName, const QString &targetName)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue