rsyslog already has the include directive to include files (or all files in a directory)

does this work for you? if not, what does it lack?

David Lang
Dear rsysloggers,



I found that using a construct like



  $template authlog,"/var/log/auth.log_%$NOW%"

  auth,authpriv.* ?authlog



I can write daily log files quite easily.



Now I want to set this default on all my machines, but I would

really love to be able to do this with a single file e.g.

/etc/rsyslog.d/local-timestamp-suffix.conf, rather than changing the

existing default rules in /etc/rsyslog.conf.



Is this something that's already possible (and I just simply haven't

found it)?



I wrote down some ideas at

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536432



Is there anything in there that you would consider?



Thanks!



PS: please keep the bug report on CC.



-- 

martin | http://madduck.net/ | http://two.sentenc.es/

 

"montag, why do you burn books?"

"it's a job like any other, pay is good and there is a lot of variety."

                                                -- ray bradbury (f451)

 

spamtraps: madduck.bo...@madduck.net

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

_______________________________________________

rsyslog mailing list

http://lists.adiscon.net/mailman/listinfo/rsyslog

http://www.rsyslog.com

Reply via email to