adding checks to tomcat logs