ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Ant log statements being created even when not used
Date Mon, 25 Sep 2006 19:09:47 GMT
On Mon, 25 Sep 2006, Steve Loughran <stevel@apache.org> wrote:

> +1 to -at-some-point-in-the-future- having a way to query log levels
> 
> + 1 to mapping 1:1 with commons-logging/log4j/java1.4 tracing and
> implementing the relevant bridge classes.
> 
> + 1 to letting the end users tune the log in a build, somehow
> 
> +1 for moving all tasks to doing more efficient queries. Remember
> that you only need to check for an isDebugEnabled if you are doing
> string concatenation or toString work; log("fact") is faster than
> if(log.isInfoEnabled()) log(fact) because you skip the extra method
> call.
> 
> -1 for doing this in the ant1.7 timeframe.

Agreed

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message