From 5c660d362db359ec4a15d168cf2665bda969768a Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Fri, 2 Oct 2009 12:28:56 +0000 Subject: [PATCH] [MNG-4386] [regression] Debug logging can't be activated [MNG-4387] [regression] Quiet logging can't be activated git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820987 13f79535-47bb-0310-9956-ffa450edef68 --- maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java index 32b67efa00..95e99ab54c 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java @@ -258,6 +258,8 @@ public class MavenCli request.setExecutionListener( new ExecutionEventLogger( logger ) ); + container.getLoggerManager().setThresholds( request.getLoggingLevel() ); + if ( debug || commandLine.hasOption( CLIManager.SHOW_VERSION ) ) { CLIReportingUtils.showVersion();