diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-25 13:47:47 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-25 14:02:37 +0000 |
commit | 2d580ae44f9646513748a234f1683e412d750f9b (patch) | |
tree | de1ce5836dce58396bb9c6da53ea84a8cc94efbe /src/libserver/logger.h | |
parent | 6cb0a8ec17abd128b22181b7489c7facfb4d0df4 (diff) | |
download | rspamd-2d580ae44f9646513748a234f1683e412d750f9b.tar.gz rspamd-2d580ae44f9646513748a234f1683e412d750f9b.zip |
[Minor] Escape log lines in logger
Diffstat (limited to 'src/libserver/logger.h')
-rw-r--r-- | src/libserver/logger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libserver/logger.h b/src/libserver/logger.h index c5cc5beed..ca910c261 100644 --- a/src/libserver/logger.h +++ b/src/libserver/logger.h @@ -56,7 +56,12 @@ struct rspamd_logger_funcs { gpointer specific; }; +#if defined(__x86_64) || defined(__x86_64__) || defined(__amd64) || defined(_M_X64) #define RSPAMD_LOGBUF_SIZE 8192 +#else +/* Use a smaller buffer */ +#define RSPAMD_LOGBUF_SIZE 2048 +#endif /** * Opens a new (initial) logger with console type |