Skip to content

LoggerConfig.RootLogger.Builder#withtFilter (typo in method name / only partially fixed) #3369

Open
@JWT007

Description

@JWT007

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions