logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49571] refreshing log4j - reconfigurable from log4j.properties and safe in J2EE
Date Thu, 06 Oct 2011 16:26:08 GMT

--- Comment #1 from David North <dtn-asfbugs@corefiling.co.uk> 2011-10-06 16:26:08 UTC
I've implemented a workaround in my J2EE app which involves subclassing
FileWatchdog and adding a shutdown() method to interrupt its thread at
application undeploy/shutdown.

Since our app already calls LogManager.shutdown() when undeployed (and this
seems like the right thing to do in order to ensure appenders close() methods
etc. are called), I'd favour addressing this bug by making the thread spawned
by configureAndWatch be shut down as part of LogManager.shutdown().

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message