diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-04-29 14:41:41 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-04-29 15:40:50 +0200 |
commit | c4d7f1c29a2b3bfed93fc322e77263c0cd3e371a (patch) | |
tree | 9a19173fba3ba5a2f19b6d032a81689f5a19e6eb /src | |
parent | e0bcaaf81fa93c9a258809bbe26859f0922654c7 (diff) | |
download | profani-tty-c4d7f1c29a2b3bfed93fc322e77263c0cd3e371a.tar.gz |
Set default max log size to 10MB
In case logrotate is on.
Diffstat (limited to 'src')
-rw-r--r-- | src/config/preferences.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/preferences.h b/src/config/preferences.h index b663e82a..46f2669a 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -42,7 +42,7 @@ #include <glib.h> #define PREFS_MIN_LOG_SIZE 64 -#define PREFS_MAX_LOG_SIZE 1048580 +#define PREFS_MAX_LOG_SIZE (10 * 1024 * 1024) // represents all settings in .profrc // each enum value is mapped to a group and key in .profrc (see preferences.c) |