Skip to content

Commit

Permalink
Merge #5449 from 4.1 into 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BalusC committed Oct 19, 2024
2 parents caa7582 + b961e78 commit 9f0db2d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -929,8 +929,7 @@ protected ResponseWriter createResponseWriter(FacesContext context) throws IOExc
*/
protected void handleRenderException(FacesContext context, Exception e) throws IOException {

// Always log
if (LOGGER.isLoggable(SEVERE)) {
if (LOGGER.isLoggable(FINE)) {
UIViewRoot root = context.getViewRoot();
StringBuilder sb = new StringBuilder(64);
sb.append("Error Rendering View");
Expand All @@ -939,7 +938,7 @@ protected void handleRenderException(FacesContext context, Exception e) throws I
sb.append(root.getViewId());
sb.append(']');
}
LOGGER.log(SEVERE, sb.toString(), e);
LOGGER.log(FINE, sb.toString(), e);
}

if (e instanceof RuntimeException) {
Expand Down

0 comments on commit 9f0db2d

Please sign in to comment.