ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Brailsford <>
Subject Re: ANSI Color Logger
Date Wed, 30 Jan 2002 00:24:54 GMT
Why noy use log4j for logging?  then if you want color logs you can use
of the myriad log colorizers, which are almost all written in perl which
is cross-platform.  Why mix two seperate functions?  Logging and
colorizing shouldn't, IMO, be combined into the same functionality.

No need to reinvent the wheel, when log4j for is very flexible, and IMO
the best logger out there, and when there are capable log colorizers.
Heck you could even create a syntax highlighting scheme for your logs
and use it vim if you want color.


On Tue, Jan 29, 2002 at 04:14:58PM -0500, Magesh Umasankar wrote:
> Hi,
> I have a custom logger that I like using
> every now and then when I perform a build 
> in non-cron job mode.
> This custom logger uses ANSI color codes
> to distinguish various message levels -
> red for Project.MSG_ERR, of course ;-)
> It works on standard XTerms (Mindterm
> interface inclusive).  It also works
> on Win9x as long as ANSI.SYS is loaded.
> It doesn't work on WinNT even with
> ANSI.SYS loaded and in mode.
> The only use-case is that it is easier/
> faster to understand the output messages 
> generated.
> Would it be of interest to you?  If so,
> I can package it up (doc it, make it color 
> configurable, etc.) and check it in as an 
> additional logger.
> Cheers,
> Magesh
> ****************************************************
> *  Atom Bomb: An invention to end all inventions.  *
> ****************************************************
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message