summaryrefslogtreecommitdiff
path: root/syslogd/logfile.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-08-16 22:38:52 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-08-16 22:48:55 +0200
commite7121bf4678dc8c502137294a8549d7a1fc4d6f7 (patch)
tree160d830f09ea3c60cdf532d403459dc72cd485ec /syslogd/logfile.c
parent29e4fc5607ace15c0be03fab6930acfadda2610a (diff)
usyslogd: at least create files/sockets relative to prefix path
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'syslogd/logfile.c')
-rw-r--r--syslogd/logfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/syslogd/logfile.c b/syslogd/logfile.c
index 606db8e..6479bb5 100644
--- a/syslogd/logfile.c
+++ b/syslogd/logfile.c
@@ -25,10 +25,11 @@
#include <errno.h>
#include "backend.h"
+#include "config.h"
#include "util.h"
-#define SYSLOG_PATH "/var/log"
+#define SYSLOG_PATH PREFIXPATH "/var/log"
static const enum_map_t levels[] = {