sharanggupta opened a new pull request, #4419:
URL: https://github.com/apache/logging-log4j2/pull/4419

   
   Fixes #4418.
   
   `Configurator.setAllLevels(parentLogger, level)` selected the child 
`LoggerConfig`s with a plain `startsWith`, so `setAllLevels("com.foo", TRACE)` 
also re-leveled `com.foobar` and `com.foobar.child`. This adds the same 
hierarchy-boundary check that #4414 introduced for 
`LoggerNameLevelRewritePolicy` (the parent itself, or names continuing with 
`.`; the root logger `""` and a trailing-dot parent still cover everything 
below them), a `LoggerTest` case with a sibling logger that keeps its level, 
and a changelog entry.
   
   `main` (3.x) carries the identical lines in `Configurator.setAllLevels`; 
happy to forward-port once this is merged.
   


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