Re: Assigning a log file per remote IP

From: jackc <jcraig_at_brocade.com>
Date: Sun, 15 Apr 2007 11:37:07 -0700

you might look at man syslog.conf, remote site logging, ...

hth, ...

Pieter De Wit wrote:
> Hello Guys,
>
> I am sorry if this was covered before, but the search function is not
> working so I can't check all the archives.
>
> I have a machine that I would like to run as a Syslog "server". I have
> changed the startup options to include -r and the devices are sending
> the log info to the server. I can see the info in my "all" log (in
> /etc/syslog.conf I have a line: *.* /var/log/all.log)
>
> Now - what I would like to do is have something like the following:
>
> All messages from 192.168.0.1 to go into /var/log/router.log
> All messages from 192.168.0.2 to go into /var/log/firewall.log
> All messages from 192.168.0.3 to go into /var/log/device.log
>
> etc etc etc
>
> Now everyone is saying that I must look at syslog-ng for this but I
> don't want to. There must be a way to get sysklogd to do this ? Yes ?
>
> Oh yes - I am running version : 1.4.2_pre20061230
>
> Thanks,
>
> Pieter De Wit
> “This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.co.za/legal/email.jsp "
>
>
>

-- 
Jack Craig
Linux26 Team
Brocade
1600 Technology Dr.
San Jose, CA  95110
408.333.7478
Direct E-mail:  jack.craig_at_brocade.com (jcraig_at_brocade.com)
Received on Sun Apr 15 2007 - 20:37:07 CEST

This archive was generated by hypermail 2.2.0 : Sun Apr 15 2007 - 20:35:49 CEST