ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: How to silence javac task?
Date Fri, 11 Aug 2006 13:53:48 GMT

OK, 
using ant since version 1.4 in 2003
writing own tasks for 1,5 years
but still learning ;-)

thanks for the point

Regards, Gilbert
 

-----Original Message-----
From: Dominique Devienne [mailto:ddevienne@gmail.com] 
Sent: Friday, August 11, 2006 3:27 PM
To: Ant Users List
Subject: Re: How to silence javac task?

> So 2. and 3. are _always_ logged irrespective of used loglevel
> it's like using System.out and setloglevel has no impact.

No true ;-) log without an explicit log level uses INFO level, so
setting log level to WARN hides these messages, just like when running
Ant in quiet mode (-q).

The Javac messages are read by the stream pumper threads, and
forwarded to the default logger. You need to replace the default
logger with a custom one that filters out some messages and not
others. Possible, but requires programming... --DD

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


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


Mime
View raw message