aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-02-10 15:46:16 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-02-10 15:46:16 +0000
commitcb6478111db97d78e2a9a9b58e9fa490a11435b3 (patch)
tree99c32db138e2e6a88ba480b744cd87de78e497e4 /src/libserver
parentd650562632f67f01db3eb48d5b3dcf7b13b68000 (diff)
downloadrspamd-cb6478111db97d78e2a9a9b58e9fa490a11435b3.tar.gz
rspamd-cb6478111db97d78e2a9a9b58e9fa490a11435b3.zip
[Minor] Add LOG_CONS flag to `openlog`
Diffstat (limited to 'src/libserver')
-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;
}