aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/cfg_rcl.c3
1 files changed, 2 insertions, 1 deletions
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) {