[infinispan-issues] [JBoss JIRA] (ISPN-11485) No Server logs after shutdownHook has been called
Tristan Tarrant (Jira)
issues at jboss.org
Fri Apr 10 15:18:45 EDT 2020
[ https://issues.redhat.com/browse/ISPN-11485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-11485:
-----------------------------------
Fix Version/s: 11.0.0.Dev05
(was: 11.0.0.Dev04)
> 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: 11.0.0.Alpha2, 10.1.5.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.1.7.Final, 11.0.0.Dev05
>
>
> 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