You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2025/09/18 12:38:08 UTC
[Bug 69817] Add sub-millisecond precision capability to access log timestamps
https://bz.apache.org/bugzilla/show_bug.cgi?id=69817
--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> ---
The issue begins in AbstractAccessLogValve.DateAndTimeElement.tidyFormat which
replaces runs of S characters with the msec pattern which is updated in
realtime while caching the rest of the pattern to reduce rendering times.
It looks like tinyFormat does some unexpected things as well. For example,
using the S metacharacter a different number of times results in behavior I
can't quite predict all from the same timestamp:
example output
S 985
SS 985985
SSS 985
SSSS 985985
SSSSS 985985895
SSSSSS 985985
After that, the DateAndTimeElement class only deals with milliseconds no matter
what. So the above needs to be fixed (?) and then handling for sub-millisecond
precision.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org