D
D
Denis Sechin2018-05-17 18:15:29
linux
Denis Sechin, 2018-05-17 18:15:29

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

2 answer(s)
C
CityCat4, 2018-05-18
@CityCat4

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 :)

A
Andrew, 2018-05-17
@Andre_JDF

As an option, disable the application to work with port UDP 514
Or delve into the rsyslog config and do not forget to use man
There is really little information on this topic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question