ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brill Pappin" <john.pap...@jmonkey.com>
Subject Re: Logging (was Re: Feature)
Date Thu, 08 Jun 2000 13:48:02 GMT
Yes, I've seen it, but I tend to stay away from IBMs APIs if I can help
it... I just don't trust IBM with this stuff, after seeing some of the cool
but crappy (and often proprietary) stuff they have produced... not to
mention it all falls under their own lic. witch makes me nervous.

- Brill Pappin

----- Original Message -----
From: "Fergus Gallagher" <Fergus.Gallagher@OrbisUK.com>
To: <ant-dev@jakarta.apache.org>
Sent: Thursday, June 08, 2000 8:50 AM
Subject: Re: Logging (was Re: Feature)


> Just to throw something else into the ring, http://www.log4j.org has an
> excellent logging utility with multi-level granularity.  It is the
> open-source version of the IBM logger previously at alphaworks
>
> The XML configuration is just dandy.
>
> Fergus
>
> At 14:15 08/06/00 +0200, Stefan Bodewig wrote:
> > >>>>> "BP" == Brill Pappin <john.pappin@jmonkey.com> writes:
> >
> >  BP> Maybe 4 levels of log NONE=well, none :), ALL or DEBUG= log
> >  BP> everything, MARKER=the beginning and ending of a task, MESSAGE=
> >  BP> the same as what is seen on the console.
> >
> >Actually there are already different levels of logging (ERR, INFO,
> >WARN, VERBOSE) in Project and each task can emit information at any of
> >those levels. Only thing that is missing is the granularity of output
> >you'd like to have.
> >
> >One could move the logging into Task instead of Project and have a
> >loglevel attribute in the Task class. This could be set to the Project's
> >value by default.
> >
> >Doing so would enable something like
> >
> ><target name="compile">
> >   <mkdir ... />
> >   <javac ... loglevel="VERBOSE" />
> >   <copyfile ... loglevel="WARN" />
> ></target>
> >
> >This would make mkdir use Project's loglevel. javac would be verbose
> >and copyfile would suppress all informational messages without caring
> >for Project's loglevel.
> >
> >Comments?
> >
> >Stefan
>
> --
> Fergus Gallagher
> Orbis
> http://www.orbisuk.com/
> +44-(0)20-8987 0717
>


Mime
View raw message