LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Problem with custom log format in Enterprise edition

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2009, 08:27 AM
edlott edlott is offline
New Member
 
Join Date: Aug 2009
Posts: 6
Default Problem with custom log format in Enterprise edition

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
Reply With Quote
  #2  
Old 08-18-2009, 08:31 AM
edlott edlott is offline
New Member
 
Join Date: Aug 2009
Posts: 6
Default Further information

OS - RHEL5 (x86_64)
Litespeed version: lsws-4.0.10-ent-x86_64-linux.tar.gz
Reply With Quote
  #3  
Old 08-18-2009, 04:34 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Fixed in the latest build of 4.0.10 release package.
Reply With Quote
  #4  
Old 08-19-2009, 07:56 AM
edlott edlott is offline
New Member
 
Join Date: Aug 2009
Posts: 6
I did a download/upgrade. Everything works. You guys rock!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:04 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.