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>.loghost-manager.<date>.loglocalhost.<date>.loglocalhost_access_log.<date>.logmanager.<date>.logIf 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