Details
-
Bug
-
Resolution: Done
-
Major
-
11.0.0.Alpha2, 10.1.5.Final
-
None
Description
When a server process receives a SIGTERM it simply logs the following, regardless of the log configuration:
INFO (Thread-0) [org.infinispan.SERVER] ISPN080002: Infinispan Server stopping INFO (Thread-0) [org.infinispan.SERVER] ISPN080002: Infinispan Server stopped
This is because Log4j registers a shutdownHook with the runtime in order to cleanup log resources. In order to aid server debugging, we should disable this shutdownHook and manually shutdown the Log4j LogManager.