Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4-RC1
    • Component/s: Ant
    • Labels:
      None
    • Environment:

      Ant (CruiseControl)

      Description

      When ivy log a warning or an error from ant (expl: unresolved dependencies messages), it should use the correct ant log level.

      Now, all the messages are always logged at info level.

      This is particularly anoying when the build is executed with and XMLLogger, and when this log are processed by an XSLT to extract Warning or error message. For example, with a standard configuration of cruise control, we will never see the unresolved dendencies messages.

      Having the messages at the right level would solve that.

        Activity

        Hide
        Xavier Hanin added a comment -

        I agree that this is annoying, but the warn and error logs aref first output at the verbose level, and then at the end of the resolve step they are output... at info level I agree, what should be pretty easy is to output them at the end at the appropriate level. I can plan to fix that soon.

        BTW, the whole log system is quite poor and would require several enhancements to make it easier to use and to understand from the user point of view. This is an important change, which is not planned for 1.4, but maybe considered in future releases.

        Show
        Xavier Hanin added a comment - I agree that this is annoying, but the warn and error logs aref first output at the verbose level, and then at the end of the resolve step they are output... at info level I agree, what should be pretty easy is to output them at the end at the appropriate level. I can plan to fix that soon. BTW, the whole log system is quite poor and would require several enhancements to make it easier to use and to understand from the user point of view. This is an important change, which is not planned for 1.4, but maybe considered in future releases.
        Hide
        Xavier Hanin added a comment -

        I've just made a slight modification to the Message class, and warnings and errors should be output at the correct level at the end of the resolve step.

        Please tell me if it fit your needs!

        Show
        Xavier Hanin added a comment - I've just made a slight modification to the Message class, and warnings and errors should be output at the correct level at the end of the resolve step. Please tell me if it fit your needs!
        Gilles Scokart created issue -
        Hide
        Gilles Scokart added a comment -

        Thanks for the rapid fix.

        I have build from the svn repository and tested it, and it is OK.

        Thanks again,

        Show
        Gilles Scokart added a comment - Thanks for the rapid fix. I have build from the svn repository and tested it, and it is OK. Thanks again,
        Hide
        Xavier Hanin added a comment -

        Allright, thanks for your suggestion!

        Show
        Xavier Hanin added a comment - Allright, thanks for your suggestion!
        Jeff Turner made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Xavier Hanin
            Reporter:
            Gilles Scokart
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development