ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject Re: How to silence javac task?
Date Fri, 11 Aug 2006 13:26:50 GMT
> 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:
For additional commands, e-mail:

View raw message