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:
a-horst 2014-06-16 17:00:12 +02:00 committed by Jason van Zyl
parent 1a4c003a2b
commit d8fd65a3ae
1 changed files with 2 additions and 5 deletions

View File

@ -318,11 +318,8 @@ else if ( cliRequest.quiet )
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 ) )
{