Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 33 for setLevel (0.19 seconds)

  1. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            if (realm == null) {
                realm = "jCIFS";
            }
    
            level = Config.getInt("jcifs.smb1.util.loglevel", -1);
            if (level != -1) {
                LogStream.setLevel(level);
            }
            if (LogStream.level > 2) {
                try {
                    Config.store(log, "JCIFS PROPERTIES");
                } catch (final IOException ioe) {}
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/Config.java

                if (LogStream.level > 0) {
                    ioe.printStackTrace(log);
                }
            }
    
            level = Config.getInt("jcifs.smb1.util.loglevel", -1);
            if (level != -1) {
                LogStream.setLevel(level);
            }
    
            try {
                "".getBytes(DEFAULT_OEM_ENCODING);
            } catch (final UnsupportedEncodingException uee) {
                if (LogStream.level >= 2) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            split(ComponentUtil.getFessConfig().getLoggingAppPackages(), ",")
                    .of(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).forEach(s -> Configurator.setLevel(s, logLevel)));
        }
    
        /**
         * Gets the current log level.
         *
         * @return The current log level.
         */
        public String getLogLevel() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            }
            defaultDomain = Config.getProperty("jcifs.smb1.smb.client.domain");
    
            level = Config.getInt("jcifs.smb1.util.loglevel", -1);
            if (level != -1) {
                LogStream.setLevel(level);
            }
            if (LogStream.level > 2) {
                try {
                    Config.store(log, "JCIFS PROPERTIES");
                } catch (final IOException ioe) {}
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  5. docs/changelogs/changelog_2x.md

           <version>2.6.0</version>
         </dependency>
         ```
    
        Configure basic logging like this:
    
        ```java
        HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor();
        loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC);
        client.networkInterceptors().add(loggingInterceptor);
        ```
    
        **Warning:** Avoid `Level.HEADERS` and `Level.BODY` in production because
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

                for (final String excluded : EXCLUDED_LOGGERS) {
                    if (loggerName.startsWith(excluded)) {
                        return;
                    }
                }
            }
    
            if (!event.getLevel().isMoreSpecificThan(getEffectiveMinLevel())) {
                return;
            }
    
            try {
                if (!ComponentUtil.getFessConfig().isLogNotificationEnabled()) {
                    return;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

      public void test() throws Exception {
        assertTrue(handler.getStoredLogRecords().isEmpty());
        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertThat(record.getMessage()).isEqualTo("message");
        assertThat(record.getThrown()).isEqualTo(EXCEPTION);
      }
    
      public void testConcurrentModification() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

                        final Map<String, Object> source = new HashMap<>();
                        source.put("hostname", hostname);
                        source.put("level", event.getLevel());
                        source.put("loggerName", event.getLoggerName());
                        source.put("message", event.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/log/Logger.java

         *            Exception
         */
        public void log(final LogMessage logMessage, final Throwable throwable) {
            assertArgumentNotNull("logMessage", logMessage);
    
            final LogLevel level = logMessage.getLevel();
            if (isEnabledFor(level)) {
                final String message = logMessage.getMessage();
                switch (level) {
                case DEBUG:
                    log.debug(message, throwable);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

      public void test() throws Exception {
        assertTrue(handler.getStoredLogRecords().isEmpty());
        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertThat(record.getMessage()).isEqualTo("message");
        assertThat(record.getThrown()).isEqualTo(EXCEPTION);
      }
    
      public void testConcurrentModification() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 2.9K bytes
    - Click Count (0)
Back to Top