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 4942bed  Restore lost getter/setter for maxLogMessageBufferSize
4942bed is described below

commit 4942bed70d104a1d88f7bd60fac5928719a1e819
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Feb 27 21:54:00 2019 +0000

    Restore lost getter/setter for maxLogMessageBufferSize
    
    Looks to have been removed in the refactoring that created
    AbstractAccessLogValve ~5 years ago
---
 java/org/apache/catalina/valves/AbstractAccessLogValve.java | 10 ++++++++++
 webapps/docs/changelog.xml                                  |  5 +++++
 2 files changed, 15 insertions(+)

diff --git a/java/org/apache/catalina/valves/AbstractAccessLogValve.java 
b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
index 07bd882..62d52e7 100644
--- a/java/org/apache/catalina/valves/AbstractAccessLogValve.java
+++ b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
@@ -486,6 +486,16 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
 
     // ------------------------------------------------------------- Properties
 
+    public int getMaxLogMessageBufferSize() {
+        return maxLogMessageBufferSize;
+    }
+
+
+    public void setMaxLogMessageBufferSize(int maxLogMessageBufferSize) {
+        this.maxLogMessageBufferSize = maxLogMessageBufferSize;
+    }
+
+
     public boolean getIpv6Canonical() {
         return ipv6Canonical;
     }
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index a1c743f..2dacdc1 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -58,6 +58,11 @@
         <code>catalina.properties</code> file for tomcat-i18n jar files.
         Use prefix pattern instead of listing each language. (kkolinko)
       </update>
+      <fix>
+        Restore the getter and setter for the access log valve attribute
+        <code>maxLogMessageBufferSize</code> that were accidentally removed.
+        (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to