there have been reports of strange ordering between included files, try
putting these rules all in one file.
David Lang
On Mon, Aug 20, 2012 at 10:55:55AM +0000, Rainer Gerhards wrote:
There are a couple of ways to do that, for example:
local6.* ?mythtvFile
& :omrelp:osgiliath.gondor:2514
& ~
Or
*.* :omrelp:osgiliath.gondor:2514 # assume forward everything
local6.* ?mythtvFile
& ~
Note that "&" just replaces a filter and is used to chain actions together. It
cannot be used as a filter itself.
I’m using files in /etc/rsyslog.d/, so I have
- relp.conf with
*.* :omrelp:osgiliath.gondor:2514
- mythtv.conf with
local6.* ?mythtvFile
& ~
But this doesn’t work as expected because no local6 messages are sent.
And as I said, adding another omrelp line at mythtv.conf gives an error
message.
I tried to rename relp.conf in 000-relp.conf, but this doesn’t help
either. Maybe the local6 discard rule is stronger than the *.* rule.
Shade and sweet water!
Stephan
--
| Stephan Seitz E-Mail: [email protected] |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards