I have great difficulty in learning
servlet filters from a book. I have a line of code -
This line is supposed to keep a track of users who requested for resources (i.e
jsp, html, servlet) for updating their account information.
Please tell me where this information is logged.
What I tried so far -
I did not know where this information is actually logged. I thought that it was logged inside
tomcat logs folder, so I created a log file and saw that nothing happened to it even after logging into the app and out of it. I used the post -
https://stackoverflow.com/questions/2233053/where-can-i-view-tomcat-log-files-in-eclipse
Then, I looked at API for ServletContext#log() and googled tomcat servlet log and got this post -
http://stackoverflow.com/questions/3154358/tomcat-servlet-logging
They used log4j, but my book does not mention anything about log4j, so I don't want to use it for now.