Problem with custom log format in Enterprise edition

Discussion in 'Bug Reports' started by edlott, Aug 18, 2009.

  1. edlott

    edlott Member

    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,
  2. edlott

    edlott Member

    Further information

    OS - RHEL5 (x86_64)
    Litespeed version: lsws-4.0.10-ent-x86_64-linux.tar.gz
  3. mistwang

    mistwang LiteSpeed Staff

    Fixed in the latest build of 4.0.10 release package.
  4. edlott

    edlott Member

    I did a download/upgrade. Everything works. You guys rock!

Share This Page