I installed ganglia and gmond spam the syslog in a way which makes it unreadable (hundreds messages per second)

I wanted to redirect these messages to own log file by adding this to rsyslog config:

:rawmsg,contains,"gmond" /var/log/gmond.log

this made gmond.log and started filling it with gmond logs but it didn't stop them from being written to syslog file as well.

How do I redirect, not duplicate, the messages?


Add & ~ in the line below that.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.