aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/logger/logger_syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/logger/logger_syslog.c')
-rw-r--r--src/libserver/logger/logger_syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/logger/logger_syslog.c b/src/libserver/logger/logger_syslog.c
index 458c69f10..faade1d01 100644
--- a/src/libserver/logger/logger_syslog.c
+++ b/src/libserver/logger/logger_syslog.c
@@ -43,7 +43,7 @@ rspamd_log_syslog_init(rspamd_logger_t *logger, struct rspamd_config *cfg,
priv = g_malloc0(sizeof(*priv));
priv->log_facility = cfg->log_facility;
- openlog("rspamd", LOG_NDELAY | LOG_PID, priv->log_facility);
+ openlog("rspamd", LOG_CONS | LOG_NDELAY | LOG_PID, priv->log_facility);
return priv;
}