[plug] Remote Syslogging

Adam Hewitt adam.h at staff.iinet.net.au
Fri Sep 1 08:12:36 WST 2006



> -----Original Message-----
> From: plug-bounces at plug.org.au [mailto:plug-bounces at plug.org.au] On
Behalf
> Of Ian Kent
> Sent: Thursday, 31 August 2006 10:38 PM
> To: plug at plug.org.au
> Subject: Re: [plug] Remote Syslogging
> 
> Timothy White wrote:
> > I've recently set up a server to log to a remote syslog server.
> > What I would like to be able to do, is separate the logs on the
> > server. I know that it already prefixes each line with the server
it's
> > coming from, but I would like something like the following...
> >
> > /var/log/ for local machine
> > /var/log/net1/ for the machine named net1
> > /var/log/net2/ for the machine named net2
> >
> > And the layout under /var/log/net{1,2} would be the same kind of
> > layout as under /var/log for the local machine.
> >
> > Does anyone know if this is possible? Or should I look at running
> > multiple syslog daemons or something?
> 
> Not with the standard syslog.
> Maybe one of the newer implementations can do stuff like this.
> 
> Ian

Have a look at syslog-ng it can do all of the above very easily.

Adam.




More information about the plug mailing list