mirror of
https://github.com/apache/maven-mvnd.git
synced 2026-01-16 07:01:48 +08:00
Allow increasing mvnd.log.level via CLI
This commit is contained in:
@@ -385,6 +385,9 @@ public class DaemonMavenCli
|
||||
}
|
||||
}
|
||||
|
||||
// Workaround for https://github.com/mvndaemon/mvnd/issues/39
|
||||
ch.qos.logback.classic.Logger mvndLogger = (ch.qos.logback.classic.Logger) slf4jLoggerFactory.getLogger("org.jboss.fuse.mvnd");
|
||||
mvndLogger.setLevel(ch.qos.logback.classic.Level.toLevel(System.getProperty("mvnd.log.level", "INFO")));
|
||||
}
|
||||
|
||||
private void version( CliRequest cliRequest ) throws ExitException
|
||||
|
||||
Reference in New Issue
Block a user