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.