aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/logger.c')
-rw-r--r--src/libutil/logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/logger.c b/src/libutil/logger.c
index bbdc69e97..c9f14ccb6 100644
--- a/src/libutil/logger.c
+++ b/src/libutil/logger.c
@@ -545,7 +545,7 @@ rspamd_logger_need_log (rspamd_logger_t *rspamd_log, GLogLevelFlags log_level,
{
g_assert (rspamd_log != NULL);
- if (log_level <= rspamd_log->cfg->log_level) {
+ if ((log_level & RSPAMD_LOG_FORCED) || log_level <= rspamd_log->cfg->log_level) {
return TRUE;
}