logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Marohn <mar...@sipgate.de>
Subject Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []
Date Wed, 08 Apr 2009 16:41:49 GMT
I did some research about this

I checked the log4net sources. The error is thrown in
AppenderSkelleton (the base class of all appenders).
public void DoAppend(LoggingEvent[] loggingEvents)  {
if (m_closed)
    ErrorHandler.Error("Attempted to append to closed appender named

m_closed in only set in
public void Close()

it reads in code docu:
It is a programming error to append to a closed appender.

Perhaps this is really a bug in one of the log4net appenders.

Can you post a simple as possible config, that reproduces the error on
your system? I will try to reproduce this and debug into log4net to
see whats going wrong with the appender.

View raw message