[
https://issues.apache.org/jira/browse/LOG4J2-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14589805#comment-14589805
]
Mikael Ståldal commented on LOG4J2-1043:
----------------------------------------
This is probably best done by allowing AsyncAppender to have dynamically
created delegate appenders (and not only AppenderRefs), and initialize those
delegate appenders in AsyncAppender's background thread.
Similar to RoutingAppender, but I think AsyncAppender should do this on its own
and not depend on RoutingAppender.
> Run initialization of AsyncAppender delegates asynchronously
> ------------------------------------------------------------
>
> Key: LOG4J2-1043
> URL: https://issues.apache.org/jira/browse/LOG4J2-1043
> Project: Log4j 2
> Issue Type: Improvement
> Components: Appenders, Core
> Affects Versions: 2.3
> Reporter: Mikael Ståldal
>
> It would be nice if initialization of appenders (LifeCycle.start()) which are
> delegates of AsyncAppender is done asynchronously.
> If the initialization of a delegate appender blocks or throws an exception, I
> don't want that to directly affect my application code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]