You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Greg Huber <gr...@gmail.com> on 2018/01/23 15:42:10 UTC

logging on shutdown

Hello,

I tried the latest version 9.0.4,  one thing I have noticed that it does
not log any output when I shut down the server.  Also Rechecking version
8.5.24 and also now does not log any output.

The server is shutting down correctly as its calling my context finalise
listener contextDestroyed() and cleaning up search lock files etc.

My logging is working as I can see the startup messages. I have a basic
install with no changes to conf dir files.

Any ideas?

Cheers Greg

Fwd: logging on shutdown

Posted by Greg Huber <gr...@gmail.com>.
The log4j2 Log4jServletContextListener contextDestroyed seems to be
shutting down first, before my stuff, hence no logging.  Will look into
this, more a log4j2 issue.

Cheers Greg

---------- Forwarded message ----------

Subject: logging on shutdown
To: Tomcat Users List <us...@tomcat.apache.org>


Hello,

I tried the latest version 9.0.4,  one thing I have noticed that it does
not log any output when I shut down the server.  Also Rechecking version
8.5.24 and also now does not log any output.

The server is shutting down correctly as its calling my context finalise
listener contextDestroyed() and cleaning up search lock files etc.

My logging is working as I can see the startup messages. I have a basic
install with no changes to conf dir files.

Any ideas?

Cheers Greg