[vdr] syslogd-ng -> /var/log/vdr.log ?

Jan Willies jan at willies.info
Tue Jul 10 20:50:59 CEST 2007


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



More information about the vdr mailing list