Apache2: When is access log written
I was wondering if anyone can point me to documentation describing when the Apache 2 access log is written. Is it before or after the request is handled?
The reason I ask is that I use Pingdom to check my website and have been experiencing increasing response times with their service, and then suddenly two days ago it dropped back down to a more reasonable level. I noticed in the access log when they said it two 3 seconds for a response, my log said it was 3 seconds after they said they tried. Does this mean it took 3 seconds for Apache to start working on the request or 3 seconds to complete the request?
Thanks, Josh
4 Replies
Here's a list of possible fields that can be used in a LogFormat configuration statement, though: