-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2015-10-03 17:20, Carlos E. R. wrote:
On 2015-10-03 12:32, Knurpht - Gertjan Lettink wrote:
Op Friday 02 October 2015 17:22:19 schreef Carlos E. R.:
On 2015-10-02 15:54, Knurpht - Gertjan Lettink wrote:
Your filters should be entirely one line each.
No, that's not so.
It is. Have a look at the line containing "then {" and so on. Notice the missing "\" symbol at the end of the line.
Let me see.
if ($programname contains 'gdm-x-session') and ($syslogseverity <= 4 /* warning */ ) \ then { -/var/log/gdmlog.warn }
Anyway, I changed to: if ($programname contains 'gdm-x-session') and ($syslogseverity <= 4 /* warning */ ) \ then { \ -/var/log/gdmlog.warn } if ($programname contains 'gdm-x-session') \ then -/var/log/gdmlog \ & stop And it does nothing. No errors detected by "rsyslogd -N 2 -f /etc/rsyslog.conf". No errors produced on rsyslog restart. No alteration of the log entries. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlYSiR8ACgkQtTMYHG2NR9Uh3QCdEYA+hVoS2GXopDe3XiJbqtgm KlQAnRFqGwiwZcqnAD036iu89FCF1INK =0gyD -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org