RE: DefaultLogTargetManager and closing of targets
"Leo Sutic" <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.apps.devel,gmane.comp.jakarta.avalon.devel |
|---|---|
| Message-ID | <001101c2a526$4f4f69e0$0801a8c0@Lagrange> |
-1 Log targets aren't scoped to the container containing the LogTargetManager. Thus one could accidentaly close someone else's targets. > From: Leo Sutic [mailto:[email protected]] > > The DefaultLogTargetManager doesn't close the log targets > when it is disposed. Anyone objecting to my adding that functionality? > > The only way of doing it appears to be by testing if a log > target is an instanceof AbstractLogTarget and then invoke > close() on it.