Hi,

compatibility note is missing in the doc.

BTW, what is the reason of the LogIOTrackTTFB directive? No impact on performance if %^FB is not needed?

CJ

Le 15/04/2015 19:59, cove...@apache.org a écrit :
Author: covener
Date: Wed Apr 15 17:59:42 2015
New Revision: 1673904

URL: http://svn.apache.org/r1673904
Log:
Merge r1671918, r1673113 from trunk:

allow time to first byte (of response headers)
to be logged by mod_logio.

mod_logio was just a conveninent place to do this
w/o writing a new filter or complicating an existing
important one.



Use 'unsigned int' in bitfield

Modified:
     httpd/httpd/branches/2.4.x/   (props changed)
     httpd/httpd/branches/2.4.x/CHANGES
     httpd/httpd/branches/2.4.x/STATUS
     httpd/httpd/branches/2.4.x/docs/manual/mod/mod_logio.xml
     httpd/httpd/branches/2.4.x/modules/loggers/mod_logio.c

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_logio.xml
URL: 
http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_logio.xml?rev=1673904&r1=1673903&r2=1673904&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_logio.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_logio.xml Wed Apr 15 
17:59:42 2015
@@ -72,6 +72,12 @@
          <td>Bytes transferred (received and sent), including request and 
headers,
          cannot be zero. This is the combination of %I and %O.<br />
          Available in Apache 2.4.7 and later</td></tr>
+
+    <tr><td><code>%^FB</code></td>
+        <td>Delay in microseconds between when the request arrived and the
+        first byte of the response headers are written.  Only available if
+        <directive>LogIOTrackTTFB</directive> is set to ON.
+        </td></tr>
      </table>
<p>Usually, the functionality is used like this:</p>
@@ -83,4 +89,21 @@
      </dl>
  </section>
+<directivesynopsis>
+<name>LogIOTrackTTFB</name>
+<description>Enable tracking of time to first byte (TTFB)</description>
+<syntax>LogIOTrackTTFB ON|OFF</syntax>
+<default>LogIOTrackTTFB OFF</default>
+<contextlist><context>server config</context><context>virtual host</context>
+<context>directory</context><context>.htaccess</context></contextlist>
+<override>none</override>
+
+<usage>
+    <p>This directive configures whether this module tracks the delay
+    between the request being read and the first byte of the response
+    headers being written.  The resulting value may be logged with the
+    <code>%^FB</code> format.</p>
+</usage>
+</directivesynopsis>
+
  </modulesynopsis>

Reply via email to