Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: vdr logging



> > Well you might want to dig into syslog, /etc/syslog.conf and syslogd and try
> > to change the target log file.
> 
> Did that, didn't work.

vdr logs as facility LOG_USER. If you have other software logging
as this facility they end up in the same logfile. You could try a
different facility (LOCALx could be a good choice) by changing the
openlog() call in vdr and adding an extra line to syslog.conf

vdr.c:
-     openlog("vdr", LOG_PID | LOG_CONS, LOG_USER);
+     openlog("vdr", LOG_PID | LOG_CONS, LOG_LOCAL0);

syslog.conf:
local0.*	/var/log/vdr.log

Wolfgang





Home | Main Index | Thread Index