WebappTips
Tomcat Logs
When you see an error on the webapp or get a blank page and nothing appears in the webapp log from log4j, it is likely you will be able to find more information on what went wrong in the tomcat logs:
- $CATALINA_HOME/logs/catalina.out
- $CATALINA_HOME/logs/localhost.DATE.logs
A good way of looking at the output to these logs in real time is to use the command:
$ tail -f $CATALINA_HOME/logs/LOGNAME
this way if you reload the webapp you will see the error output directly on the screen.
