This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new 801fc70 Minor optimisation - add new line to access log message outside the sync 801fc70 is described below commit 801fc706ac30a1b9eecc034a81f94616303f43b6 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Oct 18 17:03:47 2019 +0100 Minor optimisation - add new line to access log message outside the sync --- java/org/apache/catalina/valves/AccessLogValve.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/catalina/valves/AccessLogValve.java b/java/org/apache/catalina/valves/AccessLogValve.java index fe2943e..b133e10 100644 --- a/java/org/apache/catalina/valves/AccessLogValve.java +++ b/java/org/apache/catalina/valves/AccessLogValve.java @@ -610,10 +610,10 @@ public class AccessLogValve extends AbstractAccessLogValve { // Log this message try { + message.write(System.lineSeparator()); synchronized(this) { if (writer != null) { message.writeTo(writer); - writer.println(""); if (!buffered) { writer.flush(); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org