Hi All,
 
I'm just creating a wrapper for my use.  The question I have is about
redirecting or temporarily turning off appenders.
 
Say I have two appenders added to the over all config.  One is a simple
file appender whilst the other is an Event log appender.
 
Most of the time I just want things to go to the file appender and on
some occasions I want logs to just go to the EventLog.  The config is
all being performed in code by creating the required appenders and then
calling ActivateOptions().
 
How would I go about turning them on and off selectively in code? (C#).
 
Cheers,
 
James.

Reply via email to