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 on apache

Status
Not open for further replies.

Bangieff

Technical User
Feb 12, 2001
52
BG
Hi all
I'm running an Apache web server with some virtual servers on it. How may I log the activity for each virtual server in a separate file and for all the users in a common file simoltaneously.

10x
 
Do you mean like error logging? Name specifically what you need to log.
 
Hi
What I need is a global log:

CustomLog /usr/adm/apache_access common

and local log

CustomLog /home/VirtServer/Log/server_access common

By default when I define CustomLog in the virtual host container apache stops reporting to the global log. What I need is the same information to bi stored in both of them

 
hmm, try this, i don't know if it will work though. Make 2 containers for the same virtual host except define a diff. log in each.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top