Skip to content

Commit 8aab14b

Browse files
committed
ZOOKEEPER-4906: Log full exception details for server JAAS config failure
Closes #2234 Signed-off-by: Zili Chen <tison@apache.org> Signed-off-by: Andor Molnár <andor@apache.org> Signed-off-by: Kezhu Wang <kezhuw@apache.org> (cherry picked from commit 327ac03) (cherry picked from commit a12e384)
1 parent 18d27a3 commit 8aab14b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ protected void configureSaslLogin() throws IOException {
261261
if (loginContextName != null) {
262262
errorMessage += " But " + ZooKeeperSaslServer.LOGIN_CONTEXT_NAME_KEY + " was set.";
263263
}
264-
LOG.error(errorMessage);
264+
LOG.error(errorMessage, securityException);
265265
throw new IOException(errorMessage);
266266
}
267267
return;

0 commit comments

Comments
 (0)