https://bz.apache.org/bugzilla/show_bug.cgi?id=65144 Bug ID: 65144
Summary: deltaSession.notifying: Format string/argument
mismatch
Product: Tomcat 9
Version: 9.0.43
Hardware: PC
OS: Linux
Status: NEW
Severity: trivial
Priority: P2
Component: Cluster
Assignee:
[hidden email]
Reporter:
[hidden email]
Target Milestone: -----
Format String "deltaSession.notifying" expects two arguments:
deltaSession.notifying=Notifying cluster of session expiration: primary=[{0}],
sessionId [{1}]
However the code in DeltaSession.java invokes it with three arguments:
log.debug(sm.getString("deltaSession.notifying",
((ClusterManager)manager).getName(),
Boolean.valueOf(isPrimarySession()),
expiredId
));
This results in ambiguous log output:
15-Feb-2021 22:32:27.205 FEIN [http-nio-2015-exec-6]
org.apache.catalina.ha.session.DeltaSession.expire Notifying cluster of session
expiration: primary=[/clusterjsp], sessionId [false]
Notice the sessionId is displayed as "false", which is actually the
isPrimarySession() state
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]