From da60dec1d43594695255180ed9dbcb680305e941 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 18 Jun 2018 12:22:10 +0100 Subject: [Minor] Recognize `notice` log level Issue: #2294 Closes: #2294 --- src/libserver/cfg_rcl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index 174b4af5e..1b93d5213 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -213,7 +213,8 @@ rspamd_rcl_logging_handler (rspamd_mempool_t *pool, const ucl_object_t *obj, else if (g_ascii_strcasecmp (log_level, "info") == 0) { cfg->log_level = G_LOG_LEVEL_INFO | G_LOG_LEVEL_MESSAGE; } - else if (g_ascii_strcasecmp (log_level, "message") == 0) { + else if (g_ascii_strcasecmp (log_level, "message") == 0 || + g_ascii_strcasecmp (log_level, "notice") == 0) { cfg->log_level = G_LOG_LEVEL_MESSAGE; } else if (g_ascii_strcasecmp (log_level, "silent") == 0) { -- cgit v1.2.3