> I think it depends...  If you have very simple things to do, the old style is
> probably still best. For example, I personally find
> 
> mail.info /var/log/mail.log
> 
> far simpler then
> 
> if prifilt("mail.info") then
>    action(type="omfile" file="/var/log/mail.log)
> 
> Of course, if you do complex things, like specifying queue parameters,
> multiple actions with a single filter, etc, etc, the new syntax has big
> advantages.  ... but for very simple cases... not sure. That's the reason 
> that I
> told andre there is no need to change the default conf (remember: people
> are used to that old format!). But I'llhave a look and check if there are 
> "non-
> simple" constructs inside it.

I have made some slight adjustments and will probably make some more in the 
future. Current version is here:

http://git.adiscon.com/?p=rsyslog.git;a=blob;f=platform/redhat/rsyslog.conf;h=2210962b308adc91eb85f254c680b7df03e5709a;hb=HEAD

Thanks for bringing this up.
Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to