Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

As per the Apache docs, %T means the time taken to serve the request, in seconds. But there is no description about %D.

In configuration file, %T %D is written last (in LogFormat). Where in the log file, 0 is being printed in place of %T (always) and some numeric value >10000 in place of %D.

I believe that the response time must not be greater than 2-3 seconds in my case.

  • So please tell me which entry belongs to response time
  • Why is 0 being printed in place of %T?
  • What is the meaning of %D?
share|improve this question

migrated from stackoverflow.com May 24 '11 at 10:20

This question came from our site for professional and enthusiast programmers.

The documentation you mentioned was about Apache 1.3. Lots of things have changed since then and Apache 2 has been around for quite some time. From Apache 2.1 mod_log_config Documentation:

%D: The time taken to serve the request, in microseconds.

%T: The time taken to serve the request, in seconds.

share|improve this answer
    
@Salman, The same link i suggessted in the question – Anonymous May 24 '11 at 9:36
1  
@article: no... its 2.1 instead of 1.3. – Salman A May 24 '11 at 9:38
    
@article: your webserver is apache 2.0 or later, right? – Salman A May 24 '11 at 9:41

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.