9 Replies Latest reply on Aug 22, 2014 11:06 AM by Avor Nadal

    Why the exceptions occurred in JSPs are not logged?

    Avor Nadal Newbie



      In Wildfly 8.1.0 I've detected that the exceptions thrown during the execution of a JSP file are not logged in production mode. However, if I enable the development mode in the file $WILDFLY/standalone/configuration/standalone.xml, they're:


           <jsp-config development="true"/>


      When this parameter is set to TRUE, the exceptions are logged in the file $WILDFLY/standalone/log/sever.log. Is it the expected behaviour or is it a bug? If it's the former, What's the reason not to log such a critical thing as an exception, even although it happens in a JSP file?


      Thank you.