logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xdzgor ...@alpha-solutions.dk>
Subject Re: BUT NOT
Date Tue, 18 Nov 2014 09:21:40 GMT
Hi, thanks. What if I want "Alpha.Import.Core" to go to another appender
instead (and all the others to continue to go to appender "one")?

Eg.

<appender name="one" ...>
  ...
</appender>

<appender name="two" ...>
  ...
</appender>

<logger name="Alpha" additivity="true" BUT NOT "Alpha.Import.Core">
  <level value="DEBUG" />
  <appender-ref ref="one" />
</logger>

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




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

Mime
View raw message