mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 07:34:02 +02:00
Reduce log size limit from 1MB to 512KB
This commit is contained in:
parent
5fb898de74
commit
2d60a9a51e
1 changed files with 3 additions and 2 deletions
|
@ -24,8 +24,9 @@
|
|||
static const QString FILENAME_FORMAT = "hifi-log_%1_%2.txt";
|
||||
static const QString DATETIME_FORMAT = "yyyy-MM-dd_hh.mm.ss";
|
||||
static const QString LOGS_DIRECTORY = "Logs";
|
||||
// Max log size is 1 MB
|
||||
static const qint64 MAX_LOG_SIZE = 1024 * 1024;
|
||||
// Max log size is 512 KB. We send log files to our crash reporter, so we want to keep this relatively
|
||||
// small so it doesn't go over the 2MB zipped limit for all of the files we send.
|
||||
static const qint64 MAX_LOG_SIZE = 512 * 1024;
|
||||
// Max log age is 1 hour
|
||||
static const uint64_t MAX_LOG_AGE_USECS = USECS_PER_SECOND * 3600;
|
||||
|
||||
|
|
Loading…
Reference in a new issue