RE: Using machine.config for log4net configuration

2005-06-01 Thread rgeemail-log4net
Putting log4net configuration into machine.config works, but only if you have no log4net configuration section in the app/web.config. Unfortunately any entry at all in the application config file causes the machine.config section to be discarded - it isn't additive. This is just the way .Net seem

Re: AdoNetAppender losing first entry

2005-05-20 Thread rgeemail-log4net
I've checked the code and think this is an error at line 400 in BufferingAppenderSkeleton.cs: if (discardedLoggingEvent != null && m_lossyEvaluator != null && m_lossyEvaluator.IsTriggeringEvent(discardedLoggingEvent)) If you don't give a lossy evaluator the event is discarded, regardless of wheth