This is an automated email from the ASF dual-hosted git repository. cnauroth pushed a commit to branch branch-3.8 in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/branch-3.8 by this push: new 8aab14b52 ZOOKEEPER-4906: Log full exception details for server JAAS config failure 8aab14b52 is described below commit 8aab14b5241915fc28d1545bbd097931c1156b35 Author: Chris Nauroth <cnaur...@apache.org> 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 <ti...@apache.org> Signed-off-by: Andor Molnár <an...@apache.org> Signed-off-by: Kezhu Wang <kez...@apache.org> (cherry picked from commit 327ac03436d75618971afe333bf1e7631a3c1238) (cherry picked from commit a12e384f27387c342bacb8499fa97150873d7f05) --- .../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 62eded3ae..27054ef76 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 @@ -261,7 +261,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;