ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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.



>-----Ursprüngliche Nachricht-----
>Von: Jeffrey E Care [] 
>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 (
>WebSphere v7 Release Engineer
>WebSphere Build Tooling Lead (Project Mantis)
>"Cena, Bernard \(IT\)" <> 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 
>> 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 

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

View raw message