[logback-user] log files locked after application undeploy

Syvalta syvalta at yahoo.com
Wed Jun 4 12:00:04 CEST 2008


Ceki, Anton, many thanks for your replies.

I added an issue: http://jira.qos.ch/browse/LBSITE-14





Hello Syvalta, Anton,

Anton's recommendation to invoke

((LoggerContext)LoggerFactory.getILoggerFactory()).shutdownAndReset()

within a contextDestroyed method of a ServletContextListener is
exactly right.

His later mention of the Context Selector chapter in the logback
manual is also relevant, but only if slf4j-api.jar and
logback-classic.jar are shared between application (as he also
mentioned).

I think the problem you are facing merits an entry in the docs, at
least in the FAQ. Syvalta, would you mind entering a bug report in
http://jira.qos.ch on this subject? The contents of your email are
sufficient for creating the entry. (If you do mind, please let me know
and I'll take care of it.)

-- 
View this message in context: http://www.nabble.com/log-files-locked-after-application-undeploy-tp17619508p17643205.html
Sent from the Logback User mailing list archive at Nabble.com.




More information about the Logback-user mailing list