apache logs from a load balanced pair

Barry Brimer lists at brimer.org
Wed Mar 7 14:42:23 UTC 2007


> The problem I have is that our hosting company does not advocate using
> GFS and I don't know what the most usual way of handling logging is in
> this kind of setup.  Should we be using some kind of messaging
> architecture to handle logging? should we use a database? What do other
> SysAdmins do?

I would let each machine log on their own local disk, using a piped logger 
such as cronolog <http://www.cronolog.org/> and then I would write a 
wrapper script to transfer one machine's log file(s) to the other and use 
the logresolvemerge utility from awstats <http://www.awstats.org> to put 
the logs together and do analytics.

Barry




More information about the redhat-sysadmin-list mailing list