Gentoo Archives: gentoo-user

From: Dan Egli <dan@×××××××××××.site>
To: gentoo-user@l.g.o, Stefan Schmiedl <s@×××.de>
Subject: Re: [gentoo-user] syslog-ng misbehaving
Date: Wed, 14 Apr 2021 00:37:48
Message-Id: 8a78434b-2f30-c73b-f1b6-4ad1ec1eb7e1@newideatest.site
In Reply to: Re: [gentoo-user] syslog-ng misbehaving by Stefan Schmiedl
1 Yea, that was it. I can't believe I missed that. Boy do I feel dumb now.
2 Thanks!
3
4 On 4/8/2021 11:11 PM, Stefan Schmiedl wrote:
5 > "Dan Egli" <dan@×××××××××××.site>, 08.04.2021, 20:15:
6 >
7 >> I'm afraid that didn't work either. I did as you said, and changed the syslog filter line to read: filter syslog { not filter(sshd) and not filter (samba); }; which would match the previous lines (see URL below). I still see sshd messages in /var/log/messages when I ssh into the machine. I'm totally lost. I've posted relevant files for everyone to see. All are updated in real time becuase they are either symlinks to the actual files, or are the target of a redirection directly:
8 >> https://www.newideatest.site/syslog-conf = /etc/syslog-ng/syslog-ng.conf
9 > Is the filter definition correct?
10 >
11 > filter sshd { program("ssdhd"); };
12 > ^ ???
13 >
14 > s.
15 >
16 >> https://www.newideatest.site/syslog-out = output of syslog-ng -Fdav
17 >> https://www.newideatest.site/system_log = /var/log/messages
18 >
19 >> Any further ideas are most welcome.
20 >
21 >