https://bz.apache.org/bugzilla/show_bug.cgi?id=63286
Bug ID: 63286
Summary: Inconsistencies between AccessLogValve and
mod_log_config
Product: Tomcat 8
Version: 8.5.39
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
I am trying to achieve consistent log formats between HTTPd and Tomcat.
Unfortunately, there are subtle differences between conversion patterns.
In Tomcat I have "%h %u %{yyyy-MM-dd'T'HH:mm:ss.SSS}t "%r" %s %b %T"
In HTTPd I have "%h %u %{%FT%T}t.%{msec_frac}t \"%r\" %>s %b %{ms}T"
now the inconsistencies:
%D: In Tomcat it is millisecond resolution, HTTPd microsecond resolution
%T: both in second resolution, but Tomcat used floating point while HTTPd uses
integers
%{UNIT}T does not exist on Tomcat at all. Granted.
This all feels weird probably for most having different semantics for the same
pattern. I think this needs to be aligned, or at least documented!
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]