maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Horst (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-2570) Maven needs to support multiple logging levels
Date Mon, 16 Jun 2014 12:02:10 GMT

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

Andreas Horst commented on MNG-2570:
------------------------------------

After inspecting the responsible class MavenCLI.java (rev 1413335) it seems like the property
"org.slf4j.simpleLogger.defaultLogLevel" is simply always overwritten.

Depending on the CLI options "debug" and "quiet" the property is set to the respective log
level. In case the "debug" or "quiet" option is not used the implementation should simply
take the value specified in the simplelogger.properties. In the else block (line 310) however
it is simply overwritten with log level INFO. It looks like at the moment there is no possibility
to change the default log level other than by using "debug" or "quiet" options. Should I create
another issue for this?

> Maven needs to support multiple logging levels
> ----------------------------------------------
>
>                 Key: MNG-2570
>                 URL: https://jira.codehaus.org/browse/MNG-2570
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Logging
>    Affects Versions: 2.0.4
>            Reporter: brianfox brianfox
>             Fix For: Issues to be reviewed for 3.x
>
>         Attachments: MNG-2570-maven-embedder.patch
>
>
> The current logging levels are essentially verbose (default) and debug (-X). We need
a slightly less verbose output so that things like compiler warnings and other output is actually
visable to the developer. Currently it gets buried in all the noise.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message