[
https://issues.apache.org/jira/browse/LOG4J2-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237545#comment-16237545
]
Remko Popma commented on LOG4J2-2095:
-------------------------------------
Ok, I see now what you are trying to do.
By making the EventRoute a class instead of an enum, you can add custom
behaviour in the {{EventRoute::logMessage}} methods that cannot be achieved
otherwise.
I don't object to doing this.
Will you be able to provide a patch, ideally with unit tests?
> org.apache.logging.log4j.core.async.EventRoute not Support Extend
> -----------------------------------------------------------------
>
> Key: LOG4J2-2095
> URL: https://issues.apache.org/jira/browse/LOG4J2-2095
> Project: Log4j 2
> Issue Type: Improvement
> Components: Appenders
> Affects Versions: 2.9.1
> Reporter: justdebugit
> Priority: Major
>
> org.apache.logging.log4j.core.async.EventRoute not Support Extend,YOU MUST
> only
> use ENQUEUE/SYNCHRONOUS/DISCARD
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)