The catalina.out log should capture that information already, right? This is what I see when I shutdown my barebones Tomcat:
07-Oct-2021 15:19:03.276 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance. 07-Oct-2021 15:19:03.277 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"] 07-Oct-2021 15:19:03.546 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina] 07-Oct-2021 15:19:03.599 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"] 07-Oct-2021 15:19:03.647 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"] If you have webapps going it should take a little longer of course. -- Bob On Thu, Oct 7, 2021 at 3:05 PM <jonmcalexan...@wellsfargo.com.invalid> wrote: > I have an app team that wants to know if it's possible to capture how long > the Tomcat Shutdown takes? I don't think there is without modifying > something in the Catalina.sh under the Stop section, but wondering if there > is something already built in. > > Thanks, > > Dream * Excel * Explore * Inspire > Jon McAlexander > Infrastructure Engineer > Asst Vice President > > Middleware Product Engineering > Enterprise CIO | EAS | Middleware | Infrastructure Solutions > > 8080 Cobblestone Rd | Urbandale, IA 50322 > MAC: F4469-010 > Tel 515-988-2508 | Cell 515-988-2508 > > jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com> > This message may contain confidential and/or privileged information. If > you are not the addressee or authorized to receive this for the addressee, > you must not use, copy, disclose, or take any action based on this message > or any information herein. If you have received this message in error, > please advise the sender immediately by reply e-mail and delete this > message. Thank you for your cooperation. > >