This is an automated email from the ASF dual-hosted git repository.

markt-asf 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 5fc4e4b932 Code review follow-up - log that configuration has been 
ignored
5fc4e4b932 is described below

commit 5fc4e4b9326044ff1d634eaafd7aadcf815490a2
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Jun 16 12:05:34 2026 +0100

    Code review follow-up - log that configuration has been ignored
---
 java/org/apache/catalina/util/SessionIdGeneratorBase.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/java/org/apache/catalina/util/SessionIdGeneratorBase.java 
b/java/org/apache/catalina/util/SessionIdGeneratorBase.java
index cfd7366577..45bf5bb34b 100644
--- a/java/org/apache/catalina/util/SessionIdGeneratorBase.java
+++ b/java/org/apache/catalina/util/SessionIdGeneratorBase.java
@@ -200,6 +200,8 @@ public abstract class SessionIdGeneratorBase extends 
LifecycleBase implements Se
     @Override
     public void setSessionIdLength(int sessionIdLength) {
         if (sessionIdLength < 2) {
+            log.warn(sm.getString("sessionIdGeneratorBase.idLengthTooShort", 
Integer.toString(sessionIdLength),
+                    Integer.toString(this.sessionIdLength)));
             return;
         }
         this.sessionIdLength = sessionIdLength;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to