ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Ant running in debug mode?
Date Thu, 08 Jan 2009 12:32:01 GMT
p.s. See the last example in the <echo> manual. 


>-----Urspr√ľngliche Nachricht-----
>Von: [] 
>Gesendet: Donnerstag, 8. Januar 2009 13:30
>Betreff: AW: Ant running in debug mode?
>>Is there any way to detect my ant is running in debug mode or 
>not ? eg.
>>using -d or not
>>I want to track it.
>The debug level directly passed to Ants logging framework. Once Ant is
>running you cant access this information.
>But you could write
>  <echo level="debug"   message="Loglevel is DEBUG or higher"/>
>  <echo level="verbose" message="Loglevel is VERBOSE or higher"/>
>  <echo level="info"    message="Loglevel is INFO or higher"/>
>  <echo level="warning" message="Loglevel is WARNING or higher"/>  
>  <echo level="error"   message="Loglevel is ERROR or higher"/>
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message