Skip to content

Log4j2 config - packages property for plugins will be deprecated #162

@Icetea1991

Description

@Icetea1991

Hello colleagues,

I just build in log4j2 with the exemplary config provided here:
https://github.com/SAP/cf-java-logging-support/blob/main/sample/src/main/resources/log4j2.xml

When running my tests so far, I receive a warning:

WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release

At the official page they mark it also as deprecated: https://logging.apache.org/log4j/2.x/manual/plugins.html

Not sure if you need to adapt the implementation of your actual plugins, but at least the configs needs to be adapted.

Kind regards
Hendrik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions