Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for setRootLoggerLevel (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/Log4j2Configuration.java

    /**
     * Configuration for slf4j-log4j2.
     *
     * @since 3.1.0
     */
    public class Log4j2Configuration extends BaseSlf4jConfiguration {
        @Override
        public void setRootLoggerLevel(Level level) {
            String value =
                    switch (level) {
                        case DEBUG -> "debug";
                        case INFO -> "info";
                        default -> "error";
                    };
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 17 09:56:12 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  5. 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 conf
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  6. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
Back to Top