I want to log the exception caused by EL (parsing/coercing to different type/NPE) or such other errors in JSP files into my tomcat logs.
Those are not logged automatically. What do I need to log those exceptions?
I also struggled with this a long time. But I finally found out, that the jsp-errors are logged in the localhost.<date>.log
file.
Tomcat creates several log files (maybe depending on your local configuration):
catalina.<date>.log
host-manager.<date>.log
localhost.<date>.log
localhost_access_log.<date>.log
manager.<date>.log
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With