From 9878e69ebe5b18676f8f5e26ef57d2e47b02e44d Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 17 Jun 2018 16:48:50 +0200 Subject: usyslogd: store logs in subdirectory based on service identifier Signed-off-by: David Oberhollenzer --- syslogd/logfile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'syslogd/logfile.h') diff --git a/syslogd/logfile.h b/syslogd/logfile.h index cf4a7d6..3a596ba 100644 --- a/syslogd/logfile.h +++ b/syslogd/logfile.h @@ -23,10 +23,10 @@ typedef struct logfile_t { int facility; int fd; - char name[]; + char ident[]; } logfile_t; -logfile_t *logfile_create(const char *name, int facility); +logfile_t *logfile_create(const char *ident, const char *name, int facility); void logfile_destroy(logfile_t *file); -- cgit v1.2.3