logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe <jocular...@hotmail.com>
Subject RE: BUT NOT
Date Tue, 18 Nov 2014 17:25:38 GMT
Apologies, I didn't read your original properly.
Your configuration should work as it stands:, i.e.:

- Alpha.Import.Core and its child loggers will log to "two" only
- Alpha and all its child loggers except Alpha.Import.Core and children will
log to "one" only:

<logger name="Alpha">
  <level value="DEBUG" />
  <appender-ref ref="one" />
</logger>

<logger name="Alpha.Import.Core" additivity="false" >
  <level value="DEBUG" />
  <appender-ref ref="two" />
</logger>



-----Original Message-----
From: xdzgor [mailto:pk@alpha-solutions.dk] 
Sent: 18 November 2014 18:01
To: log4net-user@logging.apache.org
Subject: RE: BUT NOT

Thanks, but additivity is set to false in the "Alpha.Import.Core" logger. If
I also set it to false in the "Alpha" logger, then I don't see any logging
from classes in the namespace "Alpha.Web.UI" or "Alpha.Util". Is this
expected behaviour?



--
View this message in context:
http://apache-logging.6191.n7.nabble.com/BUT-NOT-tp53010p53021.html
Sent from the Log4net - Users mailing list archive at Nabble.com.


Mime
View raw message