Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-705

Too much information in maven logs during site:deploy in sftp...

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3
    • 3.6
    • site:deploy
    • None
    • Windows / Linux, SFTP, wagon-ssh 2.6

    Description

      When I run a site:deploy that points to an SFTP URL, each file deployed generates 4 lines of log :

      Uploading: source-repository.html to sftp://myServer/myPath/
      
      #####
      Transfer finished. 18258 bytes copied in 0.0080 seconds
      

      I guess these logs are generated by wagon-ssh, but I didn't find any solution to hide them, and it's very annoying because we might deploy hundreds of files during a build (javadoc, etc.), and it makes the log file uselessly very big...

      Is it possible to display them only if we run a site:deploy in debug mode (-X) ?

      Thanks !

      Attachments

        1. MSITE705-maven-site-plugin.patch
          12 kB
          Alix Lourme
        2. use.debug.only.when.debug.is.enabled.patch
          0.8 kB
          William Kemper

        Issue Links

          Activity

            People

              gboue Guillaume Boué
              iguimiot Guimiot Isabelle
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: