RE: Loggin to multiple appenders

2006-04-06 Thread Ganapatiraju, Shiva \(OCFS\)
: Matthew Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 8:50 AMTo: Log4NET User; [EMAIL PROTECTED]Subject: Re: Loggin to multiple appenders I believe the proper way to do this is to add a filter to each appender to filter based on level, and then attach both appenders to the

Re: Loggin to multiple appenders

2006-04-06 Thread Matthew Brown
I believe the proper way to do this is to add a filter to each appender to filter based on level, and then attach both appenders to the root logger http://logging.apache.org/log4net/release/manual/configuration.html#filters            On 4/6/06, Saurabh Dani <[EMAIL PROTECTED]> wrote: Greetings

Loggin to multiple appenders

2006-04-06 Thread Saurabh Dani
Greetings All,Is it possible to write to more than one appenders? In the FAQs I read that it is possible to do so, but could not find an example.I would like to write the debug logs to a fileappender (if debug logging is turned on), and info logs to a database. Is this possible with log4net?Tha