Re: syslogd-ng -> /var/log/vdr.log ?

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

 



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

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux