LoggerConfig.RootLogger.Builder#withtFilter (typo in method name / only partially fixed)
Log4j 2.24
In LoggerConfig.Builder, an original typo existed in the 'withtFilter' method (extra 't' in name).
This was fixed by deprecating the original method and adding the correct 'withFilter' method.
/** @deprecated Use {@link #withFilter(Filter)} instead */
@Deprecated
public B withtFilter(final Filter filter) { ... }
public B withFilter(final Filter filter) { ... }
However, it was not fixed in the nested LoggerConfig.RootLogger.Builder implementation - there the name is still incorrect.
The nested builder method should also be deprecated and 'withFilter' added to replace it with the correct name.
@JWT007,
Thanks! Do you mind making a PR with this change?
@ppkarwasz - made quick change - PR workflow awaiting approval:
https://github.com/apache/logging-log4j2/pull/3372
@ppkarwasz - it took me a while but I added tthe change log entry for 2.25.0
I also fixed spotless problem and updated package versions for baseline