Re: 'mirroring' or 'streaming' a text log file?

From: Damien Hull <dhull@digitaloverload.net>
Date: Tue Apr 26 2005 - 20:11:30 AKDT

Thomison, Lee wrote:

>Hi folks,
>
>
>I did this a couple of years ago, and it seemed really simple then, but
>I can't remember how I did it.
>
>
>
>I've got an (closed, proprietary) app running on a solaris 2.5.1 box
>that writes its logs in text format, several lines a second sometimes.
>
>
>
>I need to duplicate these to another machine, so that the files are
>'mirrors' of each other; as the one is written to, it feeds the
>duplicate.
>
>
>
>Even better would be 'streaming' the log file to my logging host's
>syslog-ng (the solaris boxen use legacy syslog, not syslog-ng). I think
>I ended up doing it with a startup service, so it wasn't just a
>'background' job, it was a real reflecting service.
>
>
>
>This seemed really easy and obvious a few years ago, but for the life of
>me I can't remember how I did it. Any thoughts?
>
>
>
>Thx,
>
>
>---------
>To unsubscribe, send email to <aklug-request@aklug.org>
>with 'unsubscribe' in the message body.
>
>
>
>
>
Syslog can do this for you. You can setup a system to take care of all
the logs. Configure all your hosts to send logs to this server.

You need to take a look at the following:
1. syslogd
2. syslog.conf

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Apr 26 20:11:26 2005

This archive was generated by hypermail 2.1.8 : Tue Apr 26 2005 - 20:11:26 AKDT