[ 
https://issues.apache.org/jira/browse/LOG4NET-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16019867#comment-16019867
 ] 

Dominik Psenner commented on LOG4NET-565:
-----------------------------------------

Is there a reason why you have not put the appender injection in a custom 
appender? A AppenderServiceLocatorAppender would allow more flexibility while 
at the same time reducing complexity in core. For instance, one could reuse 
other appenders like the buffering appender or a filtering appender to create 
sophisticated logevent flows.

> Dependency Injection support appender and logger types
> ------------------------------------------------------
>
>                 Key: LOG4NET-565
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-565
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Appenders, Core
>            Reporter: Hitesh Chauhan
>              Labels: Enhancement
>
> I have seen demand for dependency injection support in log4net. I have added 
> that behavior to my local repository. And I would like to push that to 
> log4net library.
> e.g. appender configuration
> <appender
> name="ServiceAppender" 
> type="LoggingServiceAppender"               
> serviceLocatorType="Log4NetServiceLocator">



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to