Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KAFKA-18831 Migrating to log4j2 introduce behavior changes of adjusti…
…ng level dynamically (#18969) fix the following behavior changes. 1) in log4j 1, users can't change the logger by parent if the logger is declared by properties explicitly. For example, `org.apache.kafka.controller` has level explicitly in the properties. Hence, we can't use "org.apache.kafka=INFO" to change the level of `org.apache.kafka.controller` to INFO. By contrast, log4j2 allows us to change all child loggers by the parent logger. 2) in log4j2, we can change the level of root to impact all loggers' level. By contrast, log4j 1 can't. Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
- Loading branch information