|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
_______________________________________________ logback-dev mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-dev

TeeAppender makes sense. It should easy to implement. Here is how:
TeeAppender should implement AppenderAttachable interface. It should build upon AppenderAttachableImpl as done AsyncAppenderBase. Support for attaching filters and handling <appender-ref> comes for free (you don't have to code it). To distribute an incoming event into the nested appenders, invoke appenderAttachableImpl.appendLoopOnAppenders(event). In summary, AsyncAppenderBase should serve as a complete starting point.