Answer the question
In order to leave comments, you need to log in
How to prevent a particular application from writing to syslog?
Greetings, there is an ubuntu 14-04 server that acts as a software router, there is some application compiled from sources (coovachilli), I noticed that this application is decently shitting in syslog with system messages that are essentially garbage. And it turns out that the whole / var (80) gb is clogged overnight. Temporarily solved it with a log cleaning script once an hour. Also, the problem is that the rsyslog daemon loads the processor up to 60%. There are no logging directives in the application configs. I didn't find anything in rsyslog.d/ either. Question how it is possible to forbid record in syslog to separate application? THX.
Answer the question
In order to leave comments, you need to log in
Yes, that's just in rsyslog something easier than a steamed turnip. Add to rsyslog.conf:
and that's it, rsyslog will send all messages from the specified program to where the place never ends :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question