- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for setRootLoggerLevel (0.17 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/BaseSlf4jConfiguration.java
public class BaseSlf4jConfiguration implements Slf4jConfiguration { private static final Logger LOGGER = LoggerFactory.getLogger(BaseSlf4jConfiguration.class); @Override public void setRootLoggerLevel(Level level) { LOGGER.warn("setRootLoggerLevel: operation not supported"); } @Override public void activate() { LOGGER.warn("activate(): operation not supported"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 1.3K bytes - Click Count (0) -
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);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (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";Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 2.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfiguration.java
* Level */ enum Level { DEBUG, INFO, ERROR } /** * Set root logging level. * * @param level the level */ void setRootLoggerLevel(Level level); /** * Activate logging implementation configuration (if necessary). */ void activate();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 1.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/LogbackConfiguration.java
import org.slf4j.LoggerFactory; /** * Configuration for slf4j-logback. * * @since 3.1.0 */ public class LogbackConfiguration extends BaseSlf4jConfiguration { @Override public void setRootLoggerLevel(Level level) { ch.qos.logback.classic.Level value = switch (level) { case DEBUG -> ch.qos.logback.classic.Level.DEBUG;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 17 09:56:12 GMT 2024 - 1.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/Log4j2Configuration.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 17 09:56:12 GMT 2024 - 1.4K bytes - Click Count (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 confCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (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
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0)