bookkeeper
bookkeeper copied to clipboard
Async log appender not print log when bookie starting error
BUG REPORT
Describe the bug
Async log appender not print log when bookie starting error
To Reproduce
Steps to reproduce the behavior:
- Start a new bookie with java properties:
-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector, so that we using the asyc log appender. - Note that don't format the metadata in advance, so that the bookie can start error.
Expected behavior
The log should print Failed to build bookie server and the error stack trace. But we can not see any error log.