Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logging server for Apache v2

Status
Not open for further replies.

svanlith

Technical User
Jun 3, 2004
2
NL
Fellow Apachenites,

Does anyone know of a way to port all logging to a different server (or better yet Lumbermill), without the use of scripting?

Apache has to do it herself.

LMK

thnx,

Serge van Lith
 
Yeah, you can mount /var to a different disk.

For example, setup your logging server. Then setup NFS on the logging server and export a directory to be used as the location for your log files.

Now on the machine running apache, you create a mount point for the logging server... say, /mnt/logsvr... then you make a symbolic link from /var/log/apache to /mnt/logsvr.

Now all of your logs for apache will be written to the mount point, which takes them to the logging server.

I don't know if that constitutes what you described as "no scripting".
 
Thnx,

it isn't exactly what I was looking for but it is indeed a solution to my problem.

The term "no scripting" was more a guideline in the means of...."is there a logging property in httpd.conf that can point to a LogServer or such"

Something like Log4j and Lumbermill.

S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top