On Fri, Sep 5, 2008 at 6:39 AM, <[EMAIL PROTECTED]> wrote:

> Without knowing the internal of Ivy I think you should start
> Ant in debug mode (-d) for getting debug message ...

Exactly. When run from Ant, Ivy uses the same message level as Ant. When run
from the command line, you can control this level with a command line
option. Through the API, you can do what you want, even provide your own
MessageLogger implementation.

Xavier


>
> Jan
>
> -----Ursprüngliche Nachricht-----
> Von: Adrian Woodhead [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 4. September 2008 19:24
> An: [email protected]
> Betreff: controlling Message output
>
> Hey there,
>
> I see that most Ivy resolvers use the Message class to output messages,
> by default it looks like messages that are logged using Message.info(),
> warn() and error() appear in Ant's output. Is there some way to control
> the level of which messages get logged and which don't? I've tried to
> get Message.debug() messages to show up but they don't, even if I run
> ant in verbose (-v) mode.
>
> Adrian
>
>


-- 
Xavier Hanin - Independent Java Consultant
BordeauxJUG co leader - http://www.bordeauxjug.org/
Blogger - http://xhab.blogspot.com/
Apache Ivy Creator - http://ant.apache.org/ivy/

Reply via email to