- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setRootLoggerLevel (1.07 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
if (invokerRequest.effectiveVerbose()) { slf4jConfiguration.setRootLoggerLevel(Slf4jConfiguration.Level.DEBUG); } else if (options.quiet().orElse(false)) { slf4jConfiguration.setRootLoggerLevel(Slf4jConfiguration.Level.ERROR); } // Verify that setRootLoggerLevel was called assertEquals(1, slf4jConfiguration.setRootLoggerLevelCallCount);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Oct 08 21:10:33 UTC 2025 - 6.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/MavenSimpleConfiguration.java
*/ public class MavenSimpleConfiguration extends BaseSlf4jConfiguration { private static final Logger LOGGER = LoggerFactory.getLogger(MavenSimpleConfiguration.class); @Override public void setRootLoggerLevel(Level level) { String value = switch (level) { case DEBUG -> "debug"; case INFO -> "info"; case ERROR -> "error";Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Oct 08 21:10:33 UTC 2025 - 2.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
context.loggerLevel = Slf4jConfiguration.Level.DEBUG; context.slf4jConfiguration.setRootLoggerLevel(context.loggerLevel); } else if (context.options().quiet().orElse(false)) { context.loggerLevel = Slf4jConfiguration.Level.ERROR; context.slf4jConfiguration.setRootLoggerLevel(context.loggerLevel); } else { // fall back to default log level specified in confRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
cliRequest.request.setLoggingLevel(MavenExecutionRequest.LOGGING_LEVEL_DEBUG); slf4jConfiguration.setRootLoggerLevel(Slf4jConfiguration.Level.DEBUG); } else if (cliRequest.quiet) { cliRequest.request.setLoggingLevel(MavenExecutionRequest.LOGGING_LEVEL_ERROR); slf4jConfiguration.setRootLoggerLevel(Slf4jConfiguration.Level.ERROR); } // else fall back to default log level specified in conf
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 78.1K bytes - Viewed (0)