Log an INFO message when finished with initializing or destroying ServletContextListeners

This commit is contained in:
j2blake 2011-10-27 14:46:31 +00:00
parent 6e177f9de2
commit 45f08396db

View file

@ -65,6 +65,7 @@ public class StartupManager implements ServletContextListener {
initialize(listener, sce); initialize(listener, sce);
} }
} }
log.info("Called 'contextInitialized' on all listeners.");
} catch (Exception e) { } catch (Exception e) {
ss.fatal(this, "Startup threw an unexpected exception.", e); ss.fatal(this, "Startup threw an unexpected exception.", e);
log.error("Startup threw an unexpected exception.", e); log.error("Startup threw an unexpected exception.", e);
@ -215,6 +216,7 @@ public class StartupManager implements ServletContextListener {
+ listener.getClass().getName() + "'", e); + listener.getClass().getName() + "'", e);
} }
} }
log.info("Called 'contextDestroyed' on all listeners.");
} }
} }