Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 437 for warn (0.05 sec)

  1. logger/logger.go

    	if l.LogLevel >= Info {
    		l.Printf(l.infoStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...)
    	}
    }
    
    // Warn print warn messages
    func (l *logger) Warn(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Warn {
    		l.Printf(l.warnStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...)
    	}
    }
    
    // Error print error messages
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Jan 12 10:19:28 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/LoggerAdapter.java

        boolean isErrorEnabled();
    
        void error(String message);
    
        void error(String message, Throwable t);
    
        boolean isWarnEnabled();
    
        void warn(String message);
    
        void warn(String message, Throwable t);
    
        boolean isInfoEnabled();
    
        void info(String message);
    
        void info(String message, Throwable t);
    
        boolean isDebugEnabled();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    }
    
                    if (executeCommand(thumbnailId, cmdList) != 0) {
                        logger.warn("Failed to execute command for thumbnail ID: {}", thumbnailId);
                        if (outputFile.isFile() && !outputFile.delete()) {
                            logger.warn("Failed to delete output file: {}", outputFile.getAbsolutePath());
                        }
                        return false;
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

        @Override
        public boolean isWarnEnabled() {
            return logger.isWarnEnabled();
        }
    
        @Override
        public void warn(final String message) {
            logger.warn(message);
        }
    
        @Override
        public void warn(final String message, final Throwable t) {
            logger.warn(message, t);
        }
    
        @Override
        public boolean isInfoEnabled() {
            return logger.isInfoEnabled();
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

        /** Array of logger name prefixes to apply the ERROR to WARN conversion */
        private final String[] loggerNames;
    
        /**
         * Constructs a new ErrorToWarnRewritePolicy with the specified logger names.
         *
         * @param loggerNames array of logger name prefixes to convert ERROR to WARN
         */
        public ErrorToWarnRewritePolicy(final String[] loggerNames) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

                        }
                    } else {
                        logger.warn("Failed to send {} to {}. HTTP Status is {}. {}", body, url, response.getHttpStatusCode(),
                                response.getContentAsString());
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to send {} to {}.", body, url, e);
                }
            }));
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/PathValidator.java

            // Check for null bytes
            if (NULL_BYTE.matcher(path).find()) {
                log.warn("Path contains null bytes: {}", sanitizeForLog(path));
                throw new SmbException("Path contains null bytes");
            }
    
            // Check for control characters
            if (strictMode && CONTROL_CHARS.matcher(path).find()) {
                log.warn("Path contains control characters: {}", sanitizeForLog(path));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                CopyUtil.copy(in, out);
                asyncImport(fileName, tempFile);
            } catch (final IOException e) {
                logger.warn("Failed to create a temp file.", e);
                if (tempFile.exists() && !tempFile.delete()) {
                    logger.warn("Failed to delete {}.", tempFile.getAbsolutePath());
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. logger/slog.go

    	if l.LogLevel >= Info {
    		l.Logger.InfoContext(ctx, msg, slog.Any("data", data))
    	}
    }
    
    func (l *slogLogger) Warn(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Warn {
    		l.Logger.WarnContext(ctx, msg, slog.Any("data", data))
    	}
    }
    
    func (l *slogLogger) Error(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Error {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 28 09:34:58 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                            .prepareOpen(docIndex)
                            .execute(ActionListener.wrap(res2 -> logger.info("Open {}", docIndex),
                                    e -> logger.warn("Failed to open {}", docIndex, e)));
                }, e -> logger.warn("Failed to close {}", docIndex, e)));
            });
            saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL));
            return redirect(getClass());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
Back to top