Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

we want to temporarily write access logs for vhosts to 2 locations. (One for its own log and one for a shared log for all sites).

We want to do this in order to watch http requests from all sites in 1 location. Is this possible?

share|improve this question
    
Did my answer to your question work? –  tristan Apr 25 '13 at 17:53

1 Answer 1

up vote 2 down vote accepted

From the Apache docs:

Multiple access logs can be created simply by specifying multiple CustomLog directives in the configuration file.

Just set multiple hosts to use the same CustomLog.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.