On Sat, 16 Aug 2003, Costin Manolache <[EMAIL PROTECTED]> wrote: > Regarding ant logging system - I think we should eventually reopen > the subject and pick a logger API
I fail to see the benefit of using a different logging system, but I'm ceratinly open to discuss it. Ant's system currently is an event based system which goes beyond simple logging and we'd still have to maintain that anyway. It is getting used for much more things than just logging. AntClassLoader uses buildFinished events to deregister and clean itself up to allow garbage collection for example. > then start using the normal if( log.isDebugEnabled()) log() that > prevents useless string concatenations and calls. Vadim's stats say that cloning of the build listener list and iterating through them are the problem, not string concatenation. And I doubt that you could implement isDebugEnabled() at all using Ant's BuildListener concept as the listener decides what to log, Ant just passes the events along. It is very well possible that one listener will log a MSG_DEBUG message while another one will not - and both are there at the same time. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]