This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 924d15a  https://bz.apache.org/bugzilla/show_bug.cgi?id=63286 access 
log formats
924d15a is described below

commit 924d15aa09c590f6d1b932a90df8297d333d2b2e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Apr 1 12:08:42 2019 +0100

    https://bz.apache.org/bugzilla/show_bug.cgi?id=63286 access log formats
    
    Document the differences in behaviour between the LogFormat directive in
    httpd and the pattern attribute in the AccessLogValve for %D and %T.
---
 webapps/docs/changelog.xml    | 6 ++++++
 webapps/docs/config/valve.xml | 9 +++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 80dda88..05c0aba 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -87,6 +87,12 @@
         the new listener. (remm)
       </update>
       <fix>
+        <bug>63286</bug>: Document the differences in behaviour between the
+        <code>LogFormat</code> directive in httpd and the <code>pattern</code>
+        attribute in the <code>AccessLogValve</code> for <code>%D</code> and
+        <code>%T</code>. (markt)
+      </fix>
+      <fix>
         <bug>63287</bug>: Make logging levels more consistent for similar 
issues
         of similar severity. (markt)
       </fix>
diff --git a/webapps/docs/config/valve.xml b/webapps/docs/config/valve.xml
index a96aa96..27125b1 100644
--- a/webapps/docs/config/valve.xml
+++ b/webapps/docs/config/valve.xml
@@ -304,8 +304,13 @@
     <li><b>%u</b> - Remote user that was authenticated (if any), else '-'</li>
     <li><b>%U</b> - Requested URL path</li>
     <li><b>%v</b> - Local server name</li>
-    <li><b>%D</b> - Time taken to process the request, in millis</li>
-    <li><b>%T</b> - Time taken to process the request, in seconds</li>
+    <li><b>%D</b> - Time taken to process the request in millis. Note: In
+                    httpd %D is microseconds. Behaviour will be aligned to 
httpd
+                    in Tomcat 10 onwards.</li>
+    <li><b>%T</b> - Time taken to process the request, in seconds. Note: This
+                    value has millisecond resolution whereas in httpd it has
+                    second resolution. Behaviour will be align to httpd
+                    in Tomcat 10 onwards.</li>
     <li><b>%F</b> - Time taken to commit the response, in millis</li>
     <li><b>%I</b> - Current request thread name (can compare later with 
stacktraces)</li>
     <li><b>%X</b> - Connection status when response is completed:


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to