diff --git a/jans-auth-server/server/src/main/java/io/jans/as/server/authorize/ws/rs/AuthorizationChallengeService.java b/jans-auth-server/server/src/main/java/io/jans/as/server/authorize/ws/rs/AuthorizationChallengeService.java index ed9ca039a96..e6543f948e4 100644 --- a/jans-auth-server/server/src/main/java/io/jans/as/server/authorize/ws/rs/AuthorizationChallengeService.java +++ b/jans-auth-server/server/src/main/java/io/jans/as/server/authorize/ws/rs/AuthorizationChallengeService.java @@ -99,8 +99,8 @@ public Response requestAuthorization(AuthzRequest authzRequest) { try { return authorize(authzRequest); } catch (WebApplicationException e) { - if (log.isErrorEnabled() && AuthzRequestService.canLogWebApplicationException(e)) - log.error(e.getMessage(), e); + if (log.isTraceEnabled()) + log.trace(e.getMessage(), e); throw e; } catch (Exception e) { log.error(e.getMessage(), e);