Nicklee007 opened a new pull request, #15626:
URL: https://github.com/apache/pulsar/pull/15626

   Fixes #15625
   
   ### Motivation
   There's an issue  reported about problems in broker shutdown. This PR will 
help print log fully when we shut down broker;
   
   After this PR fixed, the broker shutdown log printed as follow:
   
![image](https://user-images.githubusercontent.com/84127069/168623650-c9d594ec-2695-4ed6-b4be-3a03d10c543b.png)
   
   
   ### Modifications
   We have set `log4j.shutdownHookEnabled=false`, so we need add finally 
`LogManager.shutdown()` invoke in `PulsarBrokerStarter` and 
`PulsarStandaloneStarter` Runtime ShutdownHook.
   
   
   ### Documentation
   - [X] `no-need-doc` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to