[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4net-user
Subject:    Re: Config not honoring appender
From:       Shaun Lipscombe <shaun.lipscombe () gmsl ! co ! uk>
Date:       2006-06-30 7:59:27
Message-ID: 44A4D9DF.9070907 () gmsl ! co ! uk
[Download RAW message or body]

* Wayne Bradney wrote:
> I might be wrong but I think you'll find that for your configuration you
> actually have three loggers for foo.bar:
> 
> root => logging to FileAppender at the DEBUG level
> foo => logging nowhere
> foo.bar => logging to EventLogAppender at the WARN level
> 
> so in this case WARNs will go to two places. You might try to set:
> 
> additivity="false"

That sounds like exactly the option I was looking for! Ta.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic