LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-09-2012, 05:36 PM   #1
wademac
Member
 
Registered: Apr 2008
Posts: 37

Rep: Reputation: 15
apache logs in a load balanced cluster


I have 3 apache web servers behind a load balancer each server writes weblogs to:
/etc/apache2/logs

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?
 
Old 05-10-2012, 02:06 AM   #2
Steviepower
Member
 
Registered: May 2010
Location: Eindhoven
Distribution: ubuntu/debian
Posts: 152

Rep: Reputation: 25
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.
 
  


Reply

Tags
apache2, cluster, log


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] load balanced routing in beowulf cluster nickjamesd Linux - Networking 2 10-02-2011 02:29 PM
CSR question for load balanced Apache servers ALInux Linux - Server 1 09-09-2009 08:23 PM
LXer: Load-Balanced High-Availability Web Cluster With 2 Xen Servers On Ubuntu 8.04 LXer Syndicated Linux News 0 10-12-2008 12:30 PM
highly available and load balanced apache cluster uttam_h Linux - Software 1 08-30-2007 09:28 AM
LXer: How To Set Up A Load-Balanced MySQL Cluster LXer Syndicated Linux News 0 04-23-2006 11:03 AM


All times are GMT -5. The time now is 02:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration