Default tomcat will do logging already. If you are experimenting, try running:
$ tomcat/bin/catalina.sh run
And that will run it on foreground with message on screen.
Also check your tomcat/logs folder for more specific logging that saved as file.
You may change tomcat logging by editing conf/logging.properties as default. Or you may use other library such as Log4j to controll it's output as well. Their official site has these documented.
Hope these help. -Z
Joined: Jul 21, 2006
Hi Zemian, I had already checked all files in the logs folder but none of them contained the SOP's . .(I had installed Tomcat 6 using the zip file available on Apache Tomcat site).What are the changes to be made to conf/logging.properties so that the SOP statements go to a paticular file in logs?
Joined: Jun 12, 2007
What is SOP?
Did the catalina.sh run command works for you? Do you even see output?