Problem with custom log format in Enterprise edition

#1
I'm testing out the Enterprise edition. I have the following custom format for my accesslog:

%{client-ip}i %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\" %>D

The last specification (%>D) should print out server response times in microseconds. The log seems to only show milliseconds. Additionally, only whole seconds are displayed (i.e. 1000, 2000, etc).

Using a php script, I determined the following:

usleep(1000000) = 1000
usleep(500000) = 0
usleep(2000000) = 2000
usleep(2500000) = 2000 or 3000

I have a high traffic site with lots of php scripts that run quickly. I need to see sub-second breakdowns of server-response times for these scripts.

Thanks in advance,
Ed
 
Top