Skip to content

Commit

Permalink
Merge #5449 from 4.0 into 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BalusC committed Oct 19, 2024
2 parents 7dc3260 + 73cdfee commit b961e78
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -940,8 +940,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 @@ -950,7 +949,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 b961e78

Please sign in to comment.