hi, i'm using ECM with excalibur logger. i wrote my first log target with factory.
it's quite similar to logkit's DefaultJDBCTarget and uses one jdbc connection for all lifecycle (opened on first doProcessEvent, and closed on target's close()). everything works fine, but i'm expecting all the targets be closing on app exit. i'm not cleared about closing target strategy: who's responsible for that? 1. i cannot close target myself while i'm using excalibur logger - it just generates targets from factories with no user direct access to targets? 2. i could implement closing all the targets in my factory implementation, but there's no method called on factories when logger manager disposes? 3. last (and working) possibility is using java gc: System.runFinalizersOnExit(true); and in my target class: protected finalize() throws Throwable { close(); } , but i think it's not very elegant due to avalon lifecycle framework. any ideas? -- salut.fish -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>