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

James Corteciano james at linux-source.org
Tue Apr 13 06:42:31 UTC 2010


Hi Kenneth,

How did you configure your rsyslog to centralize all apache logs in the
central syslog server? All other application as well.

Thanks.

James

On Mon, Apr 12, 2010 at 6:15 PM, Kenneth Holter <kenneho.ndu at gmail.com>wrote:

> 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
> >
> --
> 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