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 b8cc215 Minor optimisation - add new line to access log message
outside the sync
b8cc215 is described below
commit b8cc21574938dc8f46b88396de0694e1ce7aa0a7
Author: Mark Thomas <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]