You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Greg Perry (Jira)" <ji...@apache.org> on 2019/09/29 21:57:00 UTC
[jira] [Created] (IVY-1611) Need embedded way of getting log
messages
Greg Perry created IVY-1611:
-------------------------------
Summary: Need embedded way of getting log messages
Key: IVY-1611
URL: https://issues.apache.org/jira/browse/IVY-1611
Project: Ivy
Issue Type: Bug
Reporter: Greg Perry
In 2.4.x - this was possible :
Main.setLogger(new IvyWrapperLogger(Message.MSG_INFO));
And allowed logging messages to be propagated to the host application.
Now setLogger is either gone or private.
I tried this in 2.5.x
ivy.getLoggerEngine().pushLogger(new IvyWrapperLogger(Message.MSG_INFO));
but I suspect it gets "popped" before
ResolveReport report = Main.run(cmd)is called
--
This message was sent by Atlassian Jira
(v8.3.4#803005)