Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Looking at the access log using "tail". At what point does the log get written to by httpd (I'm on CentOS6.3 if it makes a difference) ?

e.g. When the URL is accessed?, when process is finished and the page delivered? Some other timing?

share|improve this question
Run tail -f on the log file and make a request. You'll have your answer fairly quickly. – Nathan C May 29 '13 at 11:20
up vote 1 down vote accepted

Would it be that hard to check? The log entry can't be written until the request completes (since it includes the status, size of response and may include time taken to handle the request).

If the timestamp is when the request starts and you've got requests taking different times to complete, then the times would be out of sequence.

share|improve this answer
Snarkiness isn't really required. It really isn't so easy to check as requests come in over the mobile network and I don't know where the delay is. So the log is written to after the request is completed. Thank you. – paullb May 31 '13 at 2:51

Your Answer


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.