From 6a194521c0d555478c974069812dc89594299ba3 Mon Sep 17 00:00:00 2001 From: Thomas Becker Date: Wed, 21 Nov 2012 17:40:26 +0100 Subject: [PATCH] 394811: Make JAASLoginService log login failures to DEBUG instead of WARN. Same for some other exceptions. --- .../jetty/plus/jaas/JAASLoginService.java | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/JAASLoginService.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/JAASLoginService.java index caf14e8fd4e..c145e69e544 100644 --- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/JAASLoginService.java +++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/JAASLoginService.java @@ -245,27 +245,32 @@ public class JAASLoginService extends AbstractLifeCycle implements LoginService } catch (LoginException e) { - LOG.warn(e); + LOG.debug(e); } catch (IOException e) { - LOG.warn(e); + LOG.info(e.getMessage()); + LOG.debug(e); } catch (UnsupportedCallbackException e) { - LOG.warn(e); + LOG.info(e.getMessage()); + LOG.debug(e); } catch (InstantiationException e) { - LOG.warn(e); + LOG.info(e.getMessage()); + LOG.debug(e); } catch (IllegalAccessException e) { - LOG.warn(e); + LOG.info(e.getMessage()); + LOG.debug(e); } catch (ClassNotFoundException e) { - LOG.warn(e); + LOG.info(e.getMessage()); + LOG.debug(e); } return null; }