Icewind52 opened a new pull request, #24213:
URL: https://github.com/apache/kafka/pull/24213

   Setting `KAFKA_LOG4J_ROOT_LOGLEVEL` or `KAFKA_TOOLS_LOG4J_LOGLEVEL` replaced 
the
   entire Log4j2 `Root` configuration with an object containing only `level`, 
dropping
   existing settings such as `AppenderRef`. With the default configuration this 
left
   the root logger without appenders, so no logs were written to stdout or 
server.log.
   
   `KafkaDockerWrapper.overrideLog4jConfigByEnv` now updates the level of the 
existing
   `Root` instead of replacing it, and only creates a new `Root` when the file 
does not
   define one. This matches the documented behavior that these variables set
   `Configuration.Loggers.Root.level`.
   
   


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