Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 437 for Warn (0.07 sec)

  1. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

        @Override
        public boolean isWarnEnabled() {
            return logger.isLoggable(Level.WARNING);
        }
    
        @Override
        public void warn(final String message) {
            logger.logp(Level.WARNING, sourceClass, null, message);
        }
    
        @Override
        public void warn(final String message, final Throwable t) {
            logger.logp(Level.WARNING, sourceClass, null, message, t);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

            // noop
        }
    
        public static void printThreadDump() {
            processThreadDump(logger::info);
        }
    
        public static void printThreadDumpAsWarn() {
            processThreadDump(logger::warn);
        }
    
        public static void printThreadDumpAsError() {
            processThreadDump(logger::error);
        }
    
        public static void writeThreadDump(final String file) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

            final FileConfig fileConfig = getFileConfig(body).map(entity -> {
                try {
                    fileConfigService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
                return entity;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizerFactory.java

            if (synonymLoader.getSynonymMap() == null) {
                if (settings.getAsList("synonyms", null) != null) {
                    logger.warn("synonyms values are empty.");
                } else if (settings.get("synonyms_path") != null) {
                    logger.warn("synonyms_path[{}] is empty.", settings.get("synonyms_path"));
                } else {
                    logger.debug("No synonym data.");
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

        }
    
        public void addUrl(final String url) {
            try {
                urlQueueService.add(crawlerContext.sessionId, url);
            } catch (final Exception e) {
                logger.warn("Failed to add url: " + url, e);
            }
            urlFilter.processUrl(url);
        }
    
        public String getSessionId() {
            return crawlerContext.sessionId;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

            final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> {
                try {
                    fileAuthService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
                return entity;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/log/LoggerTest.java

        @Test
        public void testInfo() throws Exception {
            logger.info("info");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

            String msg = "Failed to " + action + " spy " + spy.getClass().getName() + ": " + e.getMessage();
    
            if (logger.isDebugEnabled()) {
                logger.warn(msg, e);
            } else {
                logger.warn(msg);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            try {
                urlFilterService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete url filters: {}", sessionId, e);
            }
            try {
                urlQueueService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete url queues: {}", sessionId, e);
            }
            try {
                dataService.delete(sessionId);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

        public void addExclude(final String urlPattern) {
            try {
                Pattern.compile(urlPattern);
            } catch (final Exception e) {
                if (logger.isWarnEnabled()) {
                    logger.warn("Invalid exclude pattern: {}", urlPattern);
                }
                return;
            }
            if (sessionId == null) {
                cachedExcludeSet.add(urlPattern);
            } else {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top