Indeed, your version is a lot better and simpler. I changed it in the Wiki.
Thanks for letting us know. 2013/10/9 Jeremy Hoel <[email protected]> > Ok.. I figured as much, but since I was looking at the wiki and > figured it might be better then what I had thrown together, I wanted > to ask. > > Thanks. > > On Tue, Oct 8, 2013 at 11:13 PM, David Lang <[email protected]> wrote: > > On Tue, 8 Oct 2013, Jeremy Hoel wrote: > > > >> There's an example on the wiki ( > >> > >> > http://wiki.rsyslog.com/index.php/Rsyslog_v7_configuration_example_(with_mysql_or_mongodb) > >> ) that has a quick snippet for 'repeated x times'. > >> > >> if $hostname == 'last' then > >> action(type="omfile" file="/dev/null") > >> & ~ > >> > >> > >> Is that any better or worse, performance wise then just doing 'if > >> $hostname == 'last' then stop' > > > > > > I would expect the performance to be noticably worse than your version. > > > > David Lang > > _______________________________________________ > > 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. > _______________________________________________ > 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. > _______________________________________________ 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.

