[ 
https://issues.apache.org/jira/browse/MSITE-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15572908#comment-15572908
 ] 

Hudson commented on MSITE-705:
------------------------------

SUCCESS: Integrated in Jenkins build maven-plugins #7346 (See 
[https://builds.apache.org/job/maven-plugins/7346/])
[MSITE-705] Too much information in maven logs during site:deploy in sftp...

The debug listener on the Wagon instance is only added if we're running Maven 
in debug mode. This closes #95. (gboue: 
[http://svn.apache.org/viewvc/?view=rev&rev=1764759])
* (add) maven-site-plugin/src/it/MSITE-705-debug
* (add) maven-site-plugin/src/it/MSITE-705-debug/invoker.properties
* (add) maven-site-plugin/src/it/MSITE-705-debug/pom.xml
* (add) maven-site-plugin/src/it/MSITE-705-debug/verify.groovy
* (add) maven-site-plugin/src/it/MSITE-705-no-debug
* (add) maven-site-plugin/src/it/MSITE-705-no-debug/invoker.properties
* (add) maven-site-plugin/src/it/MSITE-705-no-debug/pom.xml
* (add) maven-site-plugin/src/it/MSITE-705-no-debug/verify.groovy
* (edit) 
maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java


> Too much information in maven logs during site:deploy in sftp...
> ----------------------------------------------------------------
>
>                 Key: MSITE-705
>                 URL: https://issues.apache.org/jira/browse/MSITE-705
>             Project: Maven Site Plugin
>          Issue Type: Wish
>          Components: site:deploy
>    Affects Versions: 3.3
>         Environment: Windows / Linux, SFTP, wagon-ssh 2.6
>            Reporter: Guimiot Isabelle
>            Priority: Minor
>         Attachments: MSITE705-maven-site-plugin.patch, 
> use.debug.only.when.debug.is.enabled.patch
>
>
> When I run a site:deploy that points to an SFTP URL, each file deployed 
> generates 4 lines of log :
> {code}
> Uploading: source-repository.html to sftp://myServer/myPath/
> #####
> Transfer finished. 18258 bytes copied in 0.0080 seconds
> {code}
> 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 !



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to