-   Linux - Server (
-   -   apache logs in a load balanced cluster (

wademac 05-09-2012 06:36 PM

apache logs in a load balanced cluster
I have 3 apache web servers behind a load balancer each server writes weblogs to:

and I have them rotated as access_log_srv1.gz , access_log_srv2.gz and access_log_srv3.gz (for example) than I move the logs to be processed in urchin 7 for stats :)

can I have one shared log that is written of a NFS mount or is there a simple way merge the 3 daily logs to one file?

Steviepower 05-10-2012 03:06 AM

yes there is, it's called syslog. Once you have that set up you can do loads with it!
Basically it's logging to a central server.

All times are GMT -5. The time now is 03:49 AM.