mirror of https://github.com/apache/maven.git
MNG-2570: logging configuration now no longer overwrites the default log level as specified in conf/logging/simplelogger.properties
Submitted by: Andreas Horst <horst.andreas82@gmail.com> Signed-off-by: Jason van Zyl <jason@tesla.io>
This commit is contained in:
parent
1a4c003a2b
commit
d8fd65a3ae
|
@ -318,11 +318,8 @@ public class MavenCli
|
|||
cliRequest.request.setLoggingLevel( MavenExecutionRequest.LOGGING_LEVEL_ERROR );
|
||||
slf4jConfiguration.setRootLoggerLevel( Slf4jConfiguration.Level.ERROR );
|
||||
}
|
||||
else
|
||||
{
|
||||
cliRequest.request.setLoggingLevel( MavenExecutionRequest.LOGGING_LEVEL_INFO );
|
||||
slf4jConfiguration.setRootLoggerLevel( Slf4jConfiguration.Level.INFO );
|
||||
}
|
||||
// else fall back to default log level specified in conf
|
||||
// see http://jira.codehaus.org/browse/MNG-2570
|
||||
|
||||
if ( cliRequest.commandLine.hasOption( CLIManager.LOG_FILE ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue