Hello everyone

I am trying to configure rsyslog to service a number of chroot jails in
addition to the host itself.

But I need to change the hostname field of the syslog messages from the
different jails, so that I place them in the right log file on the central
logging host.

My current rsyslog.conf is as follows:

$ModLoad imuxsock
$ModLoad imklog
$ModLoad immark
$ModLoad omrelp

$AddUnixListenSocket /jail/1/dev/log
$AddUnixListenSocket /jail/2/dev/log

*.* :omrelp:10.0.0.4:2514


Can anyone please advice me on how to do that?


---

David Darville
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog

Reply via email to