Hi - I've tried to google for the documentation and the proper way to do
this - however, haven't had much luck.

My setup is on REHL 5x using std gnu toolkit, etc. I can't seem to figure
out how to properly release resources when using a AsyncAppender - I've
tried the following calls on my destructors to shutdown the
appenders/loggers:

LogManager::shutdown()

and

Logger::getRootLogger()->getLoggerRepository()->shutdown();

However, the threads started by the AsyncAppender are not released and the
application just sits there.

(I have a shared library that utilizes log4cxx - that shared library
is occasionally reloaded on-demand - this happens when the .so is reloaded
and i try to cleanup resources being used by log4cxx manually; the standard
FileAppender works fine)

Any suggestions/comments would be great.

Thanks


DISCLAIMER:
This e-mail and any attachments are for the confidential use of the 
intended recipient. If you are not the intended recipient of this 
message you are hereby notified that any review, dissemination, 
distribution or copying of this message is strictly prohibited. This 
communication is for information purposes only and should not be 
regarded as an offer to sell or as a solicitation of an offer to buy 
any investment product, an official confirmation of any transaction 
or an official statement of Quantitative Brokers, LLC.

E-mail transmissions cannot be guaranteed to be secure or error-free. 
Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.

All information is subject to change without notice. 
Quantitative Brokers may, at its discretion, monitor and review the 
content of all e-mail communications.

Reply via email to