rsyslog this works for me
:rawmsg, contains, "ndo2db: Successfully" ~ Natxo Asenjo píše v Čt 16. 09. 2010 v 22:31 +0200: > hi, > > in http://docs.opsview.com/doku.php?id=opsview-community:faq about > 'Why am I getting lots of errors in syslog?' the rsyslog solution: > > $RepeatedMsgReduction on > > does not work for me. What does work is filtering them in rsyslog.conf > like this: > > :msg, contains, "Successfully connected to MySQL database" ~ > :msg, contains, "Successfully disconnected from MySQL database" ~ > > at the beginning of the file. This is documented here: > http://www.rsyslog.com/discarding-unwanted-messages/ > > Hope this helps some other debian users out there. > -- > Groeten, > Natxo Asenjo > _______________________________________________ > Opsview-users mailing list > [email protected] > http://lists.opsview.org/lists/listinfo/opsview-users
signature.asc
Description: Toto je digitálně podepsaná část zprávy
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
