Skip to content

Commit a12e384

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)
1 parent cdfe097 commit a12e384

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
@@ -264,7 +264,7 @@ protected void configureSaslLogin() throws IOException {
264264
if (loginContextName != null) {
265265
errorMessage += " But " + ZooKeeperSaslServer.LOGIN_CONTEXT_NAME_KEY + " was set.";
266266
}
267-
LOG.error(errorMessage);
267+
LOG.error(errorMessage, securityException);
268268
throw new IOException(errorMessage);
269269
}
270270
return;

0 commit comments

Comments
 (0)