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

commit 43eae3a319791d9030f759edc791945cf70e9f7b
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 fc9fb91..255f187 100644
--- a/java/org/apache/catalina/valves/AbstractAccessLogValve.java
+++ b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
@@ -479,6 +479,16 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
 
     // ------------------------------------------------------------- Properties
 
+    public int getMaxLogMessageBufferSize() {
+        return maxLogMessageBufferSize;
+    }
+
+
+    public void setMaxLogMessageBufferSize(int maxLogMessageBufferSize) {
+        this.maxLogMessageBufferSize = maxLogMessageBufferSize;
+    }
+
+
     /**
      * {@inheritDoc}
      * Default is <code>false</code>.
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 59caf6f..fd9bc49 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -84,6 +84,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