ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Bacon <>
Subject identifying current logging level in custom task
Date Wed, 07 Jul 2004 16:00:42 GMT
Is there any way for a custom task to determine what the current logging 
level for the project is at?  For example, when I pass '-verbose' on the 
command line and Ant goes into verbose logging level, can I identify 
that situation and then print out logging info if I am in that level?

no, printing to log(msg, Project.MSG_VERBOSE) doesn't do what I want as 
I want to tell command that I execute from within the task whether to 
output verbose info or not.
Jeffrey Bacon
Creative Developer

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

View raw message