[buug] Consolidating access logs from Apache cluster

Wm. F. Honeycutt bill.honeycutt at gmail.com
Mon Apr 14 10:06:55 PDT 2008


Thanks for the input!

Syslog was my first preference...it covers all the sins of merging disparate
logs or leaving them in a discontinuous state.  I don't think there's much
danger of losing log content on an ethernet.

Coincidentally, Aaron, I had the same link bookmarked :-)

Bill

On Sun, Apr 13, 2008 at 12:41 AM, Aaron Porter <atporter at primate.net> wrote:

> On Sat, Apr 12, 2008 at 10:15:53PM -0700, Wm. F. Honeycutt wrote:
> >    I'm looking for a "best practices" approach to consolidating web logs
> from
> >    a small (2 host) apache cluster.  It would be nice to write all
> access and
> >    error log entries into a consolidated directory.
>
>         Well, you could set apache up to log via cronolog and rotate its
> logs hourly, then pull them onto a central host (scp, rsync, nfs, what
> have you). Merging them into a unified log would also be possible.
>        Another alternative would be to use something like multitail, a
> third would be to have apache log to syslog[1].
>
>
> 1: http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html
> _______________________________________________
> Buug mailing list
> Buug at weak.org
> http://www.weak.org/mailman/listinfo/buug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buug.org/pipermail/buug/attachments/20080414/a1afe973/attachment.html>


More information about the buug mailing list