You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sergei Ivanov (JIRA)" <ji...@codehaus.org> on 2012/08/09 18:26:21 UTC

[jira] (MENFORCER-131) DependencyConvergence log statement should be debug instead of info

    [ https://jira.codehaus.org/browse/MENFORCER-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=305912#comment-305912 ] 

Sergei Ivanov commented on MENFORCER-131:
-----------------------------------------

Yes, please demote the logging to DEBUG. I was going to create a ticket for it, but it appears it's already been reported.
In some of our projects with lots of dependencies, the plugin dumps hundreds of lines like below:
{noformat}
[INFO] org.slf4j:slf4j-api 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-api 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-api 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-api 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-log4j12 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-log4j12 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-log4j12 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-log4j12 1.6.2 1.6.2
[INFO] log4j:log4j 1.2.16 1.2.16
[INFO] log4j:log4j 1.2.16 1.2.16
[INFO] log4j:log4j 1.2.16 1.2.16
[INFO] org.slf4j:slf4j-api 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-api 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-api 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-api 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-api 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-log4j12 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-log4j12 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-log4j12 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-log4j12 1.6.2 1.6.2
[INFO] org.slf4j:slf4j-log4j12 1.6.2 1.6.2
[INFO] log4j:log4j 1.2.16 1.2.16
[INFO] log4j:log4j 1.2.16 1.2.16
[INFO] log4j:log4j 1.2.16 1.2.16
[INFO] log4j:log4j 1.2.16 1.2.16
{noformat}
                
> DependencyConvergence log statement should be debug instead of info
> -------------------------------------------------------------------
>
>                 Key: MENFORCER-131
>                 URL: https://jira.codehaus.org/browse/MENFORCER-131
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Andrew Ruch
>            Priority: Minor
>         Attachments: MENFORCER-131-enforcer-rules.patch
>
>
> In the DependencyVersionMap on line 87, an log prints every dependency and its version information. This seems unnecessary as an info level log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira