You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by "Buck, Robert" <rb...@verisign.com> on 2008/01/16 13:58:18 UTC

CruiseControl Logs + IVY Output Spew

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)
 
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
...

Re: CruiseControl Logs + IVY Output Spew

Posted by Xavier Hanin <xa...@gmail.com>.
On Jan 16, 2008 3:10 PM, Buck, Robert <rb...@verisign.com> wrote:

> After the upgrade, and several fixes to make the files compatible with
> 2.x, I get the following log spew:
>
>
> --buildmagic-ivy-buildpath-reverse:
> [ivy:buildlist] :: Ivy 2.0.0-beta1 - 20071206070608 ::
> http://ant.apache.org/ivy
> / ::
> :: loading settings :: file =
> D:\dev\rbuck\sandboxes\head-combo\workspace\build\
> internal\ivysettings.xml
>
>
> Any way to silence this?

Not currently, but it's easy to change, so if you submit an issue it can be
fixed quickly.

Xavier


>
>
> Bob
>



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

RE: CruiseControl Logs + IVY Output Spew

Posted by "Buck, Robert" <rb...@verisign.com>.
After the upgrade, and several fixes to make the files compatible with
2.x, I get the following log spew:


--buildmagic-ivy-buildpath-reverse:
[ivy:buildlist] :: Ivy 2.0.0-beta1 - 20071206070608 ::
http://ant.apache.org/ivy
/ ::
:: loading settings :: file =
D:\dev\rbuck\sandboxes\head-combo\workspace\build\
internal\ivysettings.xml


Any way to silence this?

Bob

Re: CruiseControl Logs + IVY Output Spew

Posted by Xavier Hanin <xa...@gmail.com>.
On Jan 16, 2008 1:58 PM, Buck, Robert <rb...@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/