Re: Logging for selected Log levels

2006-04-11 Thread Ron Grabowski
I've never been good at translating filter requirements into xml ;-/ Here's a small filter class that only accepts Debug, Warn, and Fatal messages: public class AcceptDebugWarnFatalFilter : FilterSkeleton { public override FilterDecision Decide(LoggingEvent loggingEvent) { Level level = loggi

Logging for selected Log levels

2006-04-06 Thread Meera Rajaram
Is it possible to explicitly turn logging on for Debug, Warn and Fatal messages. In other words only the specified log levels should be recorded and no other messages like Info and Error should be recorded? Currently in the log4Net examples it allows to specify just one loglevel (ie either