bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

Async log appender not print log when bookie starting error

Open AnonHxy opened this issue 1 year ago • 0 comments

BUG REPORT

Describe the bug

Async log appender not print log when bookie starting error

To Reproduce

Steps to reproduce the behavior:

  1. Start a new bookie with java properties: -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector, so that we using the asyc log appender.
  2. 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.

AnonHxy avatar Jul 27 '24 16:07 AnonHxy