log4j:ERROR Attempted to append to closed appender named [sf

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

log4j:ERROR Attempted to append to closed appender named [sf

Postby grhwood » 13 Jun 2012, 18:52

Hi,

I use my custom log4j.xml that placed at root classpath (same folder with sfs2x-service file) for log4j. The issue is log4j always complains: log4j:ERROR Attempted to append to closed appender named [sfsFileAppender].

Thanks
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: log4j:ERROR Attempted to append to closed appender named

Postby Bax » 14 Jun 2012, 07:48

Why are you using your own log4j configuration, instead of changing the global one? (or, even better, adding your own appenders?)
Paolo Bax
The SmartFoxServer Team
grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

Re: log4j:ERROR Attempted to append to closed appender named

Postby grhwood » 15 Jun 2012, 07:20

I have resolved the issue by clearing the sfs log4j.properties file.
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: log4j:ERROR Attempted to append to closed appender named

Postby Bax » 15 Jun 2012, 08:02

Not sure what you mean with "clearing". Just keep in mind that some of the Admin Tools module are based on the default settings of the log, so if you change the default appenders, they might not work properly.
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 46 guests