![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-10-10 09:17, Per Jessen wrote:
Carlos E. R. wrote:
which looks interesting. I wonder how to integrate both. Perhaps this:
if ($source == 'localhost') and ($syslogseverity <= 0 /* emergency */) then :omusrmsg:*
would that be correct?
It looks good, try it.
Yes, I was trying it - but in the process I lost all logging from the router. I thought it was my changes, but even after I reverted all of them it was no go. Then I though of using ethereal, and it turned out that if the router senses that that its external syslog is not listening, it stops sending logs! So... yes, the change above works if 'localhost' is changed to 'Telcontar', ie, the actual name of localhost. And I lost external logging because I accepted the changes a previous rpm update did in /etc/rsyslog.d/remote.conf.rpmnew. I reverted to the backup and it worked (after I restarted the router). I'll have to investigate those rpm changes another time. - -- Cheers / Saludos, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB1N8YACgkQIvFNjefEBxrv3gCaAq91KX9AtsNuy1LamlHq7F/J 8f8AoJtBETpJA7wnz77O2qiHqdA/tbq9 =trM2 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org