You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Bo...@emc.com on 2003/02/25 17:40:14 UTC

Logging and listeners

Hi,

I have a question about the logging ant supplies:

I would like to have the output from an ant build session both on screen and
in a file: specifiying ant -logfile <file> gives me a nice overview of all
activities of the build script, but I cannot follow the progress on screen.
Note that I work on a win2k box, so a "tail -f" is not an option. I already
looked to the log4j logger, but this listener does not produce the same
output as it is generated via the default logging.

Does ant provide the possibility to have the logging go both to the console
and to the logfile?

Thanks,

Nick.


Nick Boucart
Quality Assurance Engineer
EMC Belgium Development Group

Phone: +32 15 401 416
Fax:     +32 15 401 400
mailto:boucart_nick@emc.com

Re: Logging and listeners

Posted by "M. Erik Husby" <mh...@genome.wi.mit.edu>.
If you are willing to get the Cygwin toolset, you can get a version of 
tail for Windows. Checkout
http://www.cygwin.org


Boucart_Nick@emc.com wrote:

>Hi,
>
>I have a question about the logging ant supplies:
>
>I would like to have the output from an ant build session both on screen and
>in a file: specifiying ant -logfile <file> gives me a nice overview of all
>activities of the build script, but I cannot follow the progress on screen.
>Note that I work on a win2k box, so a "tail -f" is not an option. I already
>looked to the log4j logger, but this listener does not produce the same
>output as it is generated via the default logging.
>
>Does ant provide the possibility to have the logging go both to the console
>and to the logfile?
>
>Thanks,
>
>Nick.
>
>
>Nick Boucart
>Quality Assurance Engineer
>EMC Belgium Development Group
>
>Phone: +32 15 401 416
>Fax:     +32 15 401 400
>mailto:boucart_nick@emc.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>  
>

-- 
Erik Husby
Team Lead for Software Quality Automation
Whitehead Institute/MIT Center for Genome Research
320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669
office: 617.258.9227
mhusby@genome.wi.mit.edu