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

What would cause log entries to be out of order?

For the most part, the log entries are in chronological order, but every once in a while there will be a request logged with a time stamp that's much older than the surrounding requests - sometimes, it can be a minute or so older.

It seems that most of these are POST requests, and the back-end server has been experiencing some problems - is the request only logged at the end of the pipeline?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Apache does indeed only log events at the end of the request (when the page or error is served). This is how Apache knows how many bytes were transferred, what response to log, etc.

share|improve this answer
    
I believe you, but is there any documentation to back up your assertion? –  chris Nov 11 '10 at 2:48
    
apachetutor.org/dev/request -- perhaps a bit old, but linked from the Apache developer documentation site. –  Sam Halicke Nov 11 '10 at 20:50
add comment

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.