I have a load-on-startup servlet that throws an UnavailableException
in it's init method if it won't be able to handle requests. It seems
as though Tomcat can't generate a log message of this exception unless
there is a request for the servlet.

Is there a way to get Tomcat to immediately log servlet.init() exceptions?

I have tried setting verbosityLevel="DEBUG" and debug="9".

I know I could log these exceptions myself using servletContext.log(),
it just seems there should be a way to configure Tomcat to do this.

Thanks,

-James

Reply via email to