How to log separate files or directories for centralizing SysLog server ?

Kenneth Holter kenneho.ndu at gmail.com
Mon Apr 12 10:15:17 UTC 2010


We're using rsyslog to accomplish this. Chose this over syslog-ng since it's
included pr default in RHEL which we're running, but I'm sure syslog-ng is a
nice alternative too.



- Kenneth

On Mon, Apr 12, 2010 at 10:41 AM, Romeo Theriault
<romeotheriault at gmail.com>wrote:

> On Mon, Apr 12, 2010 at 4:49 PM, James Corteciano <james at linux-source.org
> >wrote:
>
> > Hi All,
> >
> > I have three server. server0 is centralized logging server, server1 and
> > server2 are remote client servers. How can I properly configure the
> syslog
> > in server0 to log the two servers in different separated
> files/directories.
> > Example, server1 will be logged at /var/log/syslog/server1.log of server0
> > and /var/log/syslog/server2.log for server2 as well.
> >
>
> You can't do this with plain old syslog. You'll need to use an alternative
> syslog package to accomplish what you want. Two well known syslog packages
> that can do what you want are syslog-ng and rsyslog.
>
> --
> Romeo Theriault
> System Administrator
> Information Technology Services
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list