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

   ## Summary
   `LoggerConfig.Builder` already exposes a deprecated `withFilter(Filter)` 
alias next to the misspelled `withtFilter(Filter)`, but 
`LoggerConfig.RootLogger.Builder` only had `withtFilter`. This adds the 
matching `withFilter` alias so both builders behave the same way, keeps 
`withtFilter` as a deprecated wrapper around `setFilter`, and adds a small unit 
test for both call paths.
   
   Fixes #3369
   
   ## Test plan
   - [x] Added `LoggerConfigTest.testRootLoggerBuilderWithFilterAlias`
   - [ ] CI `LoggerConfigTest` on this PR
   
   Made with [Cursor](https://cursor.com)


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