--- "Burgess, Benjamin" <[EMAIL PROTECTED]> wrote: > A good description of this comes from the JavaDocs > for Log4j here: > > http://logging.apache.org/log4j/docs/api/org/apache/log4j/Category.html# > isDebugEnabled() > > So actually, you would only wrap the debug log > statement in an > if(log.isDebug()) if the message itself is more than > a simple String > (ie. Contains concatenation or creates an object). >
It might be useful to remember this... the main problem in Ant, though, is that a Project doesn't currently know at what level it is being logged. Only its listeners know that. -Matt > Ben [SNIP] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]