This is an automated email from the ASF dual-hosted git repository.
cnauroth pushed a commit to branch branch-3.9
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/branch-3.9 by this push:
new a12e384f2 ZOOKEEPER-4906: Log full exception details for server JAAS
config failure
a12e384f2 is described below
commit a12e384f27387c342bacb8499fa97150873d7f05
Author: Chris Nauroth <[email protected]>
AuthorDate: Wed Mar 26 19:53:07 2025 +0000
ZOOKEEPER-4906: Log full exception details for server JAAS config failure
Closes #2234
Signed-off-by: Zili Chen <[email protected]>
Signed-off-by: Andor Molnár <[email protected]>
Signed-off-by: Kezhu Wang <[email protected]>
(cherry picked from commit 327ac03436d75618971afe333bf1e7631a3c1238)
---
.../src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java
index fd6702d5e..6d532f656 100644
---
a/zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java
+++
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java
@@ -264,7 +264,7 @@ protected void configureSaslLogin() throws IOException {
if (loginContextName != null) {
errorMessage += " But " +
ZooKeeperSaslServer.LOGIN_CONTEXT_NAME_KEY + " was set.";
}
- LOG.error(errorMessage);
+ LOG.error(errorMessage, securityException);
throw new IOException(errorMessage);
}
return;