--- /dev/null
+From 28ad9c07d7e39b8c76174142696e10e8922a4871 Mon Sep 17 00:00:00 2001
+From: Norman Rasmussen <norman@rasmussen.co.za>
+Date: Sun, 10 Jan 2010 21:43:44 +0000
+Subject: [PATCH 07/10] syslog openlog
+
+ Initialize syslog so that we log with our PID as DAEMON.
+
+Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
+---
+ common/aiccu.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/common/aiccu.c b/common/aiccu.c
+index 7697136..4bc7c97 100755
+--- a/common/aiccu.c
++++ b/common/aiccu.c
+@@ -58,6 +58,9 @@ bool aiccu_InitConfig()
+ int ret;
+ #define CAFILE "ca.pem"
+ #endif
++#ifndef _WIN32
++ openlog(NULL, LOG_PID, LOG_DAEMON);
++#endif
+ /* Allocate & Initialize */
+ g_aiccu = (struct AICCU_conf *)malloc(sizeof(*g_aiccu));
+ if (!g_aiccu) return false;
+--
+1.8.1
+