You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2015/12/02 16:33:42 UTC

svn commit: r1717650 - /sling/site/trunk/content/documentation/development/client-request-logging.mdtext

Author: rombert
Date: Wed Dec  2 15:33:42 2015
New Revision: 1717650

URL: http://svn.apache.org/viewvc?rev=1717650&view=rev
Log:
SLING-5344 - Request log format string %D

Clarify that %D output milliseconds, not microseconds.


Modified:
    sling/site/trunk/content/documentation/development/client-request-logging.mdtext

Modified: sling/site/trunk/content/documentation/development/client-request-logging.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/development/client-request-logging.mdtext?rev=1717650&r1=1717649&r2=1717650&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/development/client-request-logging.mdtext (original)
+++ sling/site/trunk/content/documentation/development/client-request-logging.mdtext Wed Dec  2 15:33:42 2015
@@ -48,7 +48,7 @@ In the Sling Web Console locate the Conf
 
 #### Log Format Specification
 
-The log format specification follows the [definition of the `format` argument for the `LogFormat` and `CustomLog` directives of Apache httpd](http://httpd.apache.org/docs/current/mod/mod_log_config.html):
+The log format specification generally follows the [definition of the `format` argument for the `LogFormat` and `CustomLog` directives of Apache httpd](http://httpd.apache.org/docs/current/mod/mod_log_config.html). Please see the below table for details and exceptions.
 
 The characteristics of the request itself are logged by placing "%" directives in the format string, which are replaced in the log file by the values as follows:
 
@@ -60,7 +60,7 @@ The characteristics of the request itsel
 | `%B`  | Size of response in bytes, excluding HTTP headers. |
 | `%b`  | Size of response in bytes, excluding HTTP headers. In CLF format, i.e. a '-' rather than a 0 when no bytes are sent. |
 | `%\{Foobar}C`  | The contents of cookie Foobar in the request sent to the server. |
-| `%D`  | The time taken to serve the request, in microseconds. |
+| `%D`  | The time taken to serve the request, in milliseconds. Please note that this deviates from the Apache httpd format. |
 | `%\{FOOBAR}e`  |Not supported in Sling; prints nothing. |
 | `%f`  | The absolute path of the resolved resource |
 | `%h`  | Remote host |