[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:47:16 EDT 2020


     [ https://issues.redhat.com/browse/ISPN-11485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson updated ISPN-11485:
--------------------------------
    Status: Open  (was: New)


> 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: 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