> On Aug 1, 2017, at 4:25 PM, Gary Gregory <[email protected]> wrote:
> 
> Hi All:
> 
> I find it a pain that I cannot say:
> 
>    <Logger name="com.example.foo" level="DEBUG">
>      <List name="ListAppender">
>        <PatternLayout pattern="%m%n" />
>      </List>
>    </Logger>
> 
> 
> Instead I MUST do:
> 
>    <Logger name="com.example.foo" level="DEBUG">
>      <AppenderRef ref="ListAppender" />
>    </Logger>
> 
> Any thoughts on allowing the former?

Only that you are going to regret doing it.  The instant you want to add a 
second logger that uses that Appender you will have to revert back to the 
current syntax. But there really is no reason we cannot create and add an 
appender where an AppenderRef is required. 

Ralph


Reply via email to