log4net - Exiting the logging from an appender -


is possible configure log4net stops going through rest of appenders if appender got match?

something like:

<appender name="tlsreadingappender" type="log4net.appender.rollingfileappender">   <file value="c:\logs\tposin_tlsreading.log" />   <filter type="log4net.filter.loggermatchfilter">     <loggertomatch value="tposin.serviceapp.tls.tlshandler"/>   </filter>   <filter type="log4net.filter.denyallfilter" />    <dontcheckanymoreappenders />  </appender> 

you can specify long list of appenders "active" if referenced in root tag of log4net.config file:

  <root>     <level value="error" />     <appender-ref ref="filelogappender" />   </root> 

you create list of appenders, using "namespace.class" name of appender filter events on each file.

can share bit more requirements , want achieve?


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -