ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22067] - Logging of "Buildfile: *" directly to System.out instead of through logging mechanism
Date Fri, 12 Sep 2003 11:34:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22067>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22067

Logging of "Buildfile: *" directly to System.out instead of through logging mechanism





------- Additional Comments From conor@cortexebusiness.com.au  2003-09-12 11:34 -------
I am trying to understand a little bit more what you're trying to achieve here.
Why is the current output into System.out a problem for you? 

If I move this to project.log it would have two consequences. One would be to
generate a log event prior to the buildStarted event for all of the listsners.
There are no strict guarantees there, IIRC, but it would certainly affect some
listeners. The XML logger, for example, would probably fail with a NPE accessing
buildElement which is constructed in the buildStarted event

The other consequence is that this particular output would be included in any
log file created with -logfile and nothing would appear on the console for
command line users. Not sure if that is something we should change.

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


Mime
View raw message