Дмитрий Братилов писал(а):
> фильтр добавил, пишет в отдельный файл, но и в syslog продолжает писать,
> это не хотелось бы
~ в конец фильтра добавить нужно
и сам фильтр д.б. выше остальных, системных,
лучше отдельным файлом в /etc/rsyslog.d/
man rsyslog.conf
> Discard
> If the discard action is carried out, the received message is immediately discarded. Discard can be highly effective if
> you want to filter out some annoying messages that otherwise would fill your log files. To do that, place the discard
> actions early in your log files. This often plays well with property-based filters, giving you great freedom in specify‐
> ing what you do not want.
>
> Discard is just the single tilde character with no further parameters.
>
> Example:
> *.* ~ # discards everything.