Hello,
does someone redirect vdr log messages to /var/log/vdr.log using syslogd-ng ?
If yes, I would like to know how :-)
Gregoire Favre schrieb:
does someone redirect vdr log messages to /var/log/vdr.log using syslogd-ng ?
yep:
destination vdr { file("/var/log/vdr.log"); };
filter f_vdr { program("vdr") or program("noad"); }; filter f_syslog { not facility(auth, authpriv, cron) and not program("vdr") and not program("noad"); }; filter f_user { facility(user) and not program("vdr") and not \ program("noad"); }; filter f_debug { level(debug) and not facility(auth, authpriv, news, \ mail) and not program("vdr"); }; filter f_messages { level(info,notice,warn) and not facility(auth,authpriv,cron,daemon,mail,news) and not program("vdr"); };
log { source(s_all); filter(f_vdr); destination(vdr); };
HTH
On Tue, Jul 10, 2007 at 08:50:59PM +0200, Jan Willies wrote:
does someone redirect vdr log messages to /var/log/vdr.log using syslogd-ng ?
yep:
Thank for your answer and those I received privately :-)