ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: CruiseControl Logs + IVY Output Spew
Date Wed, 16 Jan 2008 13:14:47 GMT
On Jan 16, 2008 1:58 PM, Buck, Robert <rbuck@verisign.com> wrote:

> Hi,
>
> I am going to cross-post this to both the cruise control and ivy user
> groups. The problem deals with the interaction of the two.
>
> Whenever an ivy:configure task is executed it outputs to the shell text
> like the following:
>
> [ivy:configure] Loading
> jar:file:/D:/dev/rbuck/SANDBO%7E1/HEAD-C%7E2/releng/vend
> or/ivy/ivy-1.4.1.jar!/fr/jayasoft/ivy/ivy.properties
>
> This output clutters the output logs for builds, and is largely
> unnecessary. The net result in an automated build in cruise control is
> hundreds of lines of log output, each line being identified as a "Buid
> Warning".
>
> So there are two questions I have here:
>
> 1. How does one suppress cruisecontrol from logging these (how to write
> a simple regexp log filter without writing any Java code) as warnings?
>
> 2. How does one suppress such superfluous output from IVY? (someone
> asked the same question last October, without getting an answer)

I'm surprised this is logged at error/warning level, since the only piece of
code which can be responsible for this log in Ivy 1.4.1 is in
IvyConfigure#loadDefaultProperties:
Message.verbose("Loading " + url);

As you can see it should be a verbose message level only. But maybe it's due
to Ivy Message mechanism, which may not have been initialized yet when
calling this method, resulting in the use of the default Message
implementation outputting to the console any level in 1.4.1.

In Ivy 2, this should be fixed, since we log something only when loading the
properties from Ant, and using the Ant log mechanism only. So I'd suggest
moving to Ivy 2 if it's possible for you.

Xavier



>
>
> Thanks in advance,
>
> Bob
>
>
>  Errors/Warnings: (150)
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
>
>
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> No coverage data found for
> '/eng/builds/46-GENERAL-MAIN/INSTRUMENTED/general/pfedit/output/coverage
> /clover.db'.
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> Loading
> jar:file:/eng/builds/46-GENERAL-MAIN/releng/vendor/ivy/ivy-1.4.1.jar!/fr
> /jayasoft/ivy/ivy.properties
> ...
>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message