From bbe071252bd90f6520a91afb36ea61e1cb0d69fd Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 10 Mar 2011 18:32:54 +0100 Subject: [PATCH] Make sure PID is logged as well in alert-syslog output. --- src/alert-syslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alert-syslog.c b/src/alert-syslog.c index 8d0b349da6..8d49ac1e34 100644 --- a/src/alert-syslog.c +++ b/src/alert-syslog.c @@ -150,7 +150,7 @@ OutputCtx *AlertSyslogInitCtx(ConfNode *conf) /* if null we just pass that to openlog, which will then * figure it out by itself. */ - openlog(ident, LOG_NDELAY, facility); + openlog(ident, LOG_PID|LOG_NDELAY, facility); OutputCtx *output_ctx = SCMalloc(sizeof(OutputCtx)); if (output_ctx == NULL) {