ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Egorov" <vego...@bea.com>
Subject how to get Project' message output level
Date Tue, 06 Mar 2007 20:04:43 GMT
Hi Ant Users,

Project defines MSG_ERR, MSG_WARN, etc. codes. Is there a programmatic
way to get current message output level (log level)? I suppose this
would come from the flag (-verbose, -debug, etc.) that user passed on
command line.

I am extending the AntContrib' AntServer/RemoteAnt tasks. I would like
to get the log level in client project and pass it to server project, so
that server project can log at the same log level as client.

I am using Ant 1.6.5.

Thank you,

--Vladimir
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

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


Mime
View raw message