You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "William Kemper (JIRA)" <ji...@apache.org> on 2015/05/06 20:24:02 UTC

[jira] [Commented] (MSITE-705) Too much information in maven logs during site:deploy in sftp...

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

William Kemper commented on MSITE-705:
--------------------------------------

I just ran into this too. The console logging is _way_ too verbose and there's no way to configure it. Attached is a simple patch that enables the {{Debug}} listener only if debug logging is enabled.

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