diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-25 17:03:58 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-25 17:03:58 +0000 |
commit | a67c8e9576403ee54859ec5fd33b367c4e51c28e (patch) | |
tree | 6f0b93ec37405acf6905c1e25448500b4e8d1bc6 | |
parent | 00e361774a3efbcdcb8f21210bb5ea68441439c9 (diff) | |
download | rspamd-a67c8e9576403ee54859ec5fd33b367c4e51c28e.tar.gz rspamd-a67c8e9576403ee54859ec5fd33b367c4e51c28e.zip |
[Minor] Publish log buffer size
-rw-r--r-- | src/libutil/logger.c | 1 | ||||
-rw-r--r-- | src/libutil/logger.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/logger.c b/src/libutil/logger.c index c8deb1028..604fe8348 100644 --- a/src/libutil/logger.c +++ b/src/libutil/logger.c @@ -31,7 +31,6 @@ #define REPEATS_MIN 3 #define REPEATS_MAX 300 #define LOG_ID 6 -#define RSPAMD_LOGBUF_SIZE 8192 struct rspamd_logger_error_elt { gint completed; diff --git a/src/libutil/logger.h b/src/libutil/logger.h index d596e54e8..4aeda1dc4 100644 --- a/src/libutil/logger.h +++ b/src/libutil/logger.h @@ -22,6 +22,8 @@ typedef void (*rspamd_log_func_t) (const gchar *module, const gchar *id, typedef struct rspamd_logger_s rspamd_logger_t; +#define RSPAMD_LOGBUF_SIZE 8192 + /** * Init logger */ |