Skip to content

PluginBuilderFactory instead of PluginFactory for Log4j2 Appender #1142

Closed
@Scip88

Description

@Scip88

Affects Version(s): v2.2.2.RELEASE


Use of PluginBuilderFactory instead of PluginFactory for Log4j2 AmqpAppender

I'm tryin to extends AmqpAppender to customize method postProcessMessageBeforeSend.
I'm tryin to avoid copy & paste of static method createAppender (annotated with PluginFactory) but it's not possibile.

Is there another solution or simple code to create a method annotated with PluginFactory ?

I suggest to use Builder and Annotation PluginBuilderFactory

Extend Log4j2 Appenders
Log4j2 Plugin Builder

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions