logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kovalenko" <gaset.kovale...@gmail.com>
Subject Adding appenders programmatically
Date Thu, 23 Feb 2006 08:32:58 GMT
I need to add programmatically references to appenders to a specific logger.
In other words I want to configure the following logger from code. Is it


<logger name="Log4net.MainForm">

      <level value="ALL" />

      <appender-ref ref="AdoNetAppender" />

      <appender-ref ref="SmtpAppender" />

      <appender-ref ref="CustomAppender" />



Best regards,

Vladimir Kovalenko



View raw message