From a67c8e9576403ee54859ec5fd33b367c4e51c28e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 25 Nov 2016 17:03:58 +0000 Subject: [PATCH] [Minor] Publish log buffer size --- src/libutil/logger.c | 1 - src/libutil/logger.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.39.5