You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by kbarlow <ke...@cable.comcast.com> on 2009/10/14 19:29:21 UTC

log4j:ERROR Attempted to append to closed appender named [console].

Hiyas,

I keep getting this error in my webapps when they try to log statements.  I
have my application configured with commons-logging which uses log4j as its
underlying provider.  I have checked for duplicate appenders and whatnot as
the FAQ suggests but cannot figure out why I keep getting this message.  I
have appenders declared for all the packages that should be attempting to
write.  What are possible causes of this message?

(PS. I doesn't seem to happen when I use the services from a console based
app - only in webapps.)

Thanks.

Keith
-- 
View this message in context: http://www.nabble.com/log4j%3AERROR-Attempted-to-append-to-closed-appender-named--console-.-tp25895542p25895542.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: log4j:ERROR Attempted to append to closed appender named [console].

Posted by kbarlow <ke...@cable.comcast.com>.
I think I finally realized the problem... the log4j.jar was on the classpath
2x.

Keith


kbarlow wrote:
> 
> Hiyas,
> 
> I keep getting this error in my webapps when they try to log statements. 
> I have my application configured with commons-logging which uses log4j as
> its underlying provider.  I have checked for duplicate appenders and
> whatnot as the FAQ suggests but cannot figure out why I keep getting this
> message.  I have appenders declared for all the packages that should be
> attempting to write.  What are possible causes of this message?
> 
> (PS. I doesn't seem to happen when I use the services from a console based
> app - only in webapps.)
> 
> Thanks.
> 
> Keith
> 

-- 
View this message in context: http://www.nabble.com/log4j%3AERROR-Attempted-to-append-to-closed-appender-named--console-.-tp25895542p25896889.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org