Closed pizzi80 closed 6 months ago
Describe the bug
Faces internal LIFECYCLE LOGGER
LIFECYCLE
LOGGER
log at WARNING Level the exception before re-throw it as FacesException
WARNING
FacesException
For example inside the class InvokeApplicationPhase
InvokeApplicationPhase
try { root.processApplication(facesContext); } catch (RuntimeException re) { String exceptionMessage = re.getMessage(); if (null != exceptionMessage) { if (LOGGER.isLoggable(Level.WARNING)) { LOGGER.log(Level.WARNING, exceptionMessage, re); } } throw new FacesException(exceptionMessage, re); }
Expected behavior
do NOT log it or log at FINE(er)? level... ?
Additional context
https://stackoverflow.com/questions/46241248/jsf-warning-is-logged-before-custom-exception-handler-is-called-glassfish-payar
Agreed. It's rethrown not suppressed.
Describe the bug
Faces internal
LIFECYCLE
LOGGER
log at
WARNING
Level the exception before re-throw it asFacesException
For example inside the class
InvokeApplicationPhase
Expected behavior
do NOT log it or log at FINE(er)? level... ?
Additional context
https://stackoverflow.com/questions/46241248/jsf-warning-is-logged-before-custom-exception-handler-is-called-glassfish-payar