lhotari commented on PR #4475:
URL: https://github.com/apache/bookkeeper/pull/4475#issuecomment-2662271120

   > Thank you for the update. I understand the need to ensure logs are flushed 
properly. However, adding multiple `System.err` outputs might not be the most 
elegant solution. Could we consider pushing for adding this hook to log4j2 
instead?
   
   When using Log4J2, it would be necessary to call 
`org.apache.logging.log4j.LogManager.shutdown()` to ensure that logs get 
flushed before a forceful JVM exit with `Runtime.getRuntime().halt(int)`.


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