ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Stirling" <scottstirl...@gmail.com>
Subject Re: Ant log statements being created even when not used
Date Mon, 25 Sep 2006 14:46:50 GMT
There you go! I was beginning to think the listeners would register
with their log level as an added parameter, but this makes more sense.

Scott S.
Framingham, MA

On 9/25/06, Dominique Devienne <ddevienne@gmail.com> wrote:
> > I don't know if there's a useful answer to be found.
>
> Note unless we add a new interface (LogListener2) which adds the
> ability to query the current level of any listener.  We could then
> extract the min. level when all current listener support this new
> listener, and if any listener does not implement it, default to the
> old behavior of logging all messages (and returning DEBUG as the log
> level)
>
> To account for long lived listener, we would also need a method on
> project to reset the cache of the current level, which would be
> initialized any time a new listener is added. --DD

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


Mime
View raw message