This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 70ac3c05c1 Instant is immutable
70ac3c05c1 is described below
commit 70ac3c05c1c6f75e0d98b9ac6cfcc534454de829
Author: remm <[email protected]>
AuthorDate: Mon Jan 19 22:43:02 2026 +0100
Instant is immutable
As a result, the end of the request was always the beginning.
BZ69932, regression from 11.0.12
---
java/org/apache/catalina/valves/AbstractAccessLogValve.java | 2 +-
webapps/docs/changelog.xml | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/java/org/apache/catalina/valves/AbstractAccessLogValve.java
b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
index 102e7a9cf4..b482b0e2ee 100644
--- a/java/org/apache/catalina/valves/AbstractAccessLogValve.java
+++ b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
@@ -1107,7 +1107,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
Instant requestStartInstant =
Instant.from(request.getCoyoteRequest().getStartInstant());
long frac;
if (!usesBegin) {
- requestStartInstant.plusNanos(time);
+ requestStartInstant = requestStartInstant.plusNanos(time);
}
switch (type) {
case CLF:
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index d8fd5a4238..400b3b29e6 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -104,7 +104,17 @@
They eventually become mixed with the numbered issues (i.e., numbered
issues do not "pop up" wrt. others).
-->
-<section name="Tomcat 11.0.16 (markt)" rtext="in development">
+<section name="Tomcat 11.0.17 (markt)" rtext="in development">
+ <subsection name="Catalina">
+ <changelog>
+ <fix>
+ <bug>69932</bug>: Fix request end access log pattern regression,
+ which would log the start time of the request instead. (remm)
+ </fix>
+ </changelog>
+ </subsection>
+</section>
+<section name="Tomcat 11.0.16 (markt)" rtext="release in progress">
<subsection name="Catalina">
<changelog>
<fix>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]