[infinispan-issues] [JBoss JIRA] (ISPN-11485) No Server logs after shutdownHook has been called
Ryan Emerson (Jira)
issues at jboss.org
Thu Mar 19 06:30:17 EDT 2020
Ryan Emerson created ISPN-11485:
-----------------------------------
Summary: No Server logs after shutdownHook has been called
Key: ISPN-11485
URL: https://issues.redhat.com/browse/ISPN-11485
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 10.1.5.Final, 11.0.0.Alpha2
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 11.0.0.Dev03, 10.1.6.Final
When a server process receives a SIGTERM it simply logs the following, regardless of the log configuration:
{code}
INFO (Thread-0) [org.infinispan.SERVER] ISPN080002: Infinispan Server stopping
INFO (Thread-0) [org.infinispan.SERVER] ISPN080002: Infinispan Server stopped
{code}
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|https://logging.apache.org/log4j/2.x/manual/configuration.html] and manually shutdown the Log4j LogManager.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list