On 11/19/2010 07:46 PM, [email protected] wrote:
> I need to have it listen on /dev/log and /var/jail/dev/log, how can I do
> this?
> 
> I see an option for defining the path to listen to, but I don't see how
> to define multiple of them (I may just be missing something obvious here)

$ModLoad imuxsock # needs to be done just once

$InputUnixListenSocketHostName jail1.example.net
$AddUnixListenSocket /jail/1/dev/log

$InputUnixListenSocketHostName jail2.example.net
$AddUnixListenSocket /jail/2/dev/log

...

See http://www.rsyslog.com/doc/imuxsock.html
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to