Skip to content

Log4j rewrite could support isEnabledFor to isEnabled #276

@warrenc5

Description

@warrenc5

I used the log4j recipe to upgrade to log4j2 and it worked great. Thanks.

If I could suggest it handle rewriting of Logger.isEnabledFor to Logger.isEnabled.

https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrecipeRecipe Requested
    No fields configured for Feature.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions