grabbing tomcat startup time -
i'd grab tomcat's "server startup in xxms" (in http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/catalina.java) , log elsewhere.
is there way either grab value or hook wrap start() function? don't need exact number, needs reasonably close.
i'd prefer not grep catalina log if possible.
have looked @ http://tomcat.apache.org/tomcat-6.0-doc/config/listeners.html?
i think can achieve goal adding own lifecyclelistener implementation underneath server or engine element in server.xml
your listener implement timing mechanism think convenient, , log way like.
hope helps!
Comments
Post a Comment