Lines Matching refs:logfile
14 usage: syslogd [-a socket] [-O logfile] [-f config file] [-m interval]
47 struct logfile {
48 struct logfile *next;
60 char *logfile;
68 struct logfile *lfiles; // list of write logfiles
95 * recurses the logfile list and resolves config
98 static int resolve_config(struct logfile *file, char *config)
154 struct logfile *file;
165 file = xzalloc(sizeof(struct logfile));
177 file = xzalloc(sizeof(struct logfile));
209 file = xzalloc(sizeof(struct logfile));
223 * adding default logfile to the head of list.
226 file = xzalloc(sizeof(struct logfile));
228 TT.logfile : "/var/log/messages"); //DEFLOGFILE
238 struct logfile *tfd;
278 static int write_rotate(struct logfile *tf, int len)
320 struct logfile *tf = TT.lfiles;
390 struct logfile *fnode = TT.lfiles;