Bear Bibeault wrote:Log4J
If I will put logger in my simpleController class, which takes action based on requested jsp, will it be enough to log stated exceptions. BTW, I've already logger configured, though exceptions caught are standard one (IOException and ServletException). Do you think, if I will use "throws NullPointerException or OutOfMemoryError", it will be logged or say catch them and log the stacktrace, it will solve the purpose. Well I've tried with NullPointerException (thrown and catched), but there was no logging in my log4J. Only logging is in
tomcat logger ("localhost....") and that is every time irrespective of logger configured or not.