Hi guys,
I have a simple filter that is outputing a message to a log file. I am following an example from a book. It said I should expect to see the log message in a log file. However I only see the message in the console for
Tomcat, not the log file. Any ideas why?
I had a look at the documentation for Tomcat. The logging section
http://tomcat.apache.org/tomcat-5.5-doc/logging.html doesn't mention anything about where the logs for ServletContext.log go? The JavaDoc for the
Servlet API just says that the log method should output to a log file.
Any ideas?
Cheers,
Sean.
Here is my example: