diff options
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main.h b/src/main.h index 8aea5a661..ed7d2c80c 100644 --- a/src/main.h +++ b/src/main.h @@ -18,6 +18,7 @@ #include "hash.h" #include "events.h" #include "util.h" +#include "logger.h" /* Default values */ #define FIXED_CONFIG_FILE ETC_PREFIX "/rspamd.conf" @@ -28,12 +29,6 @@ /* 60 seconds for worker's IO */ #define WORKER_IO_TIMEOUT 60 -/* Logging in postfix style */ -#define msg_err(args...) rspamd_log_function(G_LOG_LEVEL_CRITICAL, ##args) -#define msg_warn(args...) rspamd_log_function(G_LOG_LEVEL_WARNING, ##args) -#define msg_info(args...) rspamd_log_function(G_LOG_LEVEL_INFO, ##args) -#define msg_debug(args...) rspamd_log_function(G_LOG_LEVEL_DEBUG, ##args) - #ifdef CRLF #undef CRLF #undef CR |