This content has been marked as final.
Show 2 replies
-
1. Re: WildFly 8.2.1 jsp logging question
stephan_b Oct 15, 2018 4:47 PM (in response to stephan_b)Bumping this one up. I still need this resolved.
The jsps contain
<%@page import="org.apache.log4j.Logger"%>
Logger __log = Logger.getLogger(this.getClass().getName());
and then subsequent lines like this:
__log.debug("test message");
Where do these messages end up??
-
2. Re: WildFly 8.2.1 jsp logging question
stephan_b Oct 16, 2018 11:31 AM (in response to stephan_b)It appears that WildFly's "this.getClass().getName()" returns strings in the "org.apache.jsp.*" range:
2018-10-16 11:26:19,832 DEBUG [org.apache.jsp.enroll.GetBiometrics_jsp] (default task-23) Biometric: 'fingerprint'
So, for anyone after me who struggles with this issue, add the following logger to the standalone-ha.xml or standalone.xml:
<logger category="org.apache.jsp">
<level name="DEBUG"/>
</logger>