Skip to content
Snippets Groups Projects

sentinel-nikola: fix messages filter in syslog-ng

Merged Karel Koci requested to merge bugfix/logs-suppress into develop
  1. Jul 26, 2020
    • Karel Koci's avatar
      sentinel-nikola: fix messages filter in syslog-ng · 661b0aa3
      Karel Koci authored
      Without this change iptables messages are included in /var/log/messages
      as well as in our target. That means without this we are not filtering
      them from default log. The reason is that source for standard log is
      defined before source for nikola's log. This means that filter is
      applied late.
      
      Syslog-ng's scls are included before main config while standard configs
      are appended. Including them so soon makes filter effective.
      Verified
      661b0aa3