[CentOS] centralized logs server and also storing the logs on the local server

Bent Terp bent at terp.se
Sun Nov 9 08:09:20 UTC 2008

On Sun, Nov 9, 2008 at 8:57 AM, ankush grover <ankushcentos at gmail.com> wrote:

> store all the logs on the local server aka means logs will be sent to
> the central log server but also will be stored on the local server.

I see two ways of doing this: 1) use rsyslog and multiple rules, one
for writing to local file and another for TCP forwarding to central
syslog server. 2) Do the logging locally, and let logrotate copy the
files to the central location.

BR Bent

More information about the CentOS mailing list