You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/06/16 11:06:01 UTC
(tomcat) branch 9.0.x updated: Code review follow-up - log that configuration has been ignored
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 8368e8a3a3 Code review follow-up - log that configuration has been ignored
8368e8a3a3 is described below
commit 8368e8a3a318aa306b3408a0c22ccc65e9f6648f
Author: Mark Thomas <ma...@apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org