diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-06-17 16:48:50 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-06-17 18:20:53 +0200 |
commit | 9878e69ebe5b18676f8f5e26ef57d2e47b02e44d (patch) | |
tree | 0205ed51f570e2db855fb34b51fe3e7d5a806b9d /syslogd/logfile.h | |
parent | 8a8f49a501fd109bcb722afff7eb2c7852a04107 (diff) |
usyslogd: store logs in subdirectory based on service identifier
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'syslogd/logfile.h')
-rw-r--r-- | syslogd/logfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |