ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Logging from custom tasks
Date Mon, 14 Nov 2005 08:26:44 GMT
I put a note into the <echo> manual [1] about the log levels.
Maybe that´s interesting for you.

Jan

[1] http://svn.apache.org/viewcvs.cgi/*checkout*/ant/core/trunk/docs/manual/CoreTasks/echo.html?content-type=text%2Fplain


>-----Ursprüngliche Nachricht-----
>Von: Jeffrey E Care [mailto:carej@us.ibm.com] 
>Gesendet: Donnerstag, 10. November 2005 18:46
>An: Ant Users List
>Betreff: Re: Logging from custom tasks
>
>I can't remember off the top of my head about -q, but the 
>default level is INFO which would give you ERROR, WARNING & 
>INFO. The -v flag gives you that plus VERBOSE, while -d gives 
>you everything.
>
>--
>Jeffrey E. Care (carej@us.ibm.com)
>WebSphere v7 Release Engineer
>WebSphere Build Tooling Lead (Project Mantis)
>
>
>"Cena, Bernard \(IT\)" <Bernard.Cena@morganstanley.com> wrote on 
>11/10/2005 12:24:06 PM:
>
>> Are there any "best practices" for which logging levels to use from
>> custom ant tasks ?
>> The 5 levels: MSG_ERR, MSG_WARN, MSG_INFO, MSG_VERBOSE and 
>MSG_DEBUG are
>> self explanatory, but I'm not certain which levels appear when ? I'm
>> asking which levels are visible depending on options supplied to ant
>> (-v, -q, -d) ? Also, is <echo> equivalent of logging at the 
>info level ?
>> (Asking about this from the point of view of using a custom 
>logger such
>> as the color logger).
>> Thanks
>> Bernard
>> --------------------------------------------------------
>> 
>> NOTICE: If received in error, please destroy and notify sender. 
>> Sender does not waive confidentiality or privilege, and use is 
>prohibited.
>

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


Mime
View raw message