Brenda
unread,Nov 19, 2009, 10:10:39 AM11/19/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to log5f
In some cases, appenders need to clean up, maybe removing listeners,
flushing buffers or closing file streams. The 'Appender' class has a
method for this and the 'Category' class has a method
'removeAllAppenders' that invokes the 'AppenderAttachable' class
method 'removeAllAppenders' which calls each appenders close method.
What I don't see if when the 'Category' method 'removeAllAppenders' is
ever called. Is the intent that the process, or application, that
gets the 'Logger' class, which extends from 'Category', call the
'removeAllAppenders' method?
example:
private var _logger:Logger LoggerManager.getLogger(this);
o
[logger messages...]
o
_logger.removeAllAppenders();
Thanks again,
Brenda