8

rsyslog set 3 aps to log to same file

view full story
linux-howto

http://askubuntu.com – I've been looking at examples of rsyslogs but most seems too programmer centric for me. I need 10.10.10.12, 10.10.10.13, 10.10.10.14 to get 1 shared log file. This gives me the log I want into my main /var/log/syslog $ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support (previously done by rklogd) #$ModLoad immark # provides --MARK-- message capability # provides UDP syslog reception $ModLoad imudp $UDPServerRun 514 I tried adding this, but It didn't work. if $fromhost-ip startswith '10.10.10.12' then /var/log/aps.log & ~ (HowTos)