Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,154 for loggers (0.05 seconds)

  1. tests/tests_test.go

    			db.Exec("PRAGMA foreign_keys = ON")
    		}
    	}
    
    	if err != nil {
    		return
    	}
    
    	if debug := os.Getenv("DEBUG"); debug == "true" {
    		db.Logger = db.Logger.LogMode(logger.Info)
    	} else if debug == "false" {
    		db.Logger = db.Logger.LogMode(logger.Silent)
    	}
    
    	return
    }
    
    func RunMigrations() {
    	var err error
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. logger/slog.go

    //go:build go1.21
    
    package logger
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"log/slog"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    type slogLogger struct {
    	Logger                    *slog.Logger
    	LogLevel                  LogLevel
    	SlowThreshold             time.Duration
    	Parameterized             bool
    	Colorful                  bool // Ignored in slog
    	IgnoreRecordNotFoundError bool
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingCreator.java

     * Handles the creation and management of character mapping dictionaries used for text normalization.
     */
    public class CharMappingCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(CharMappingCreator.class);
    
        /**
         * Constructs a new CharMappingCreator with the mapping file pattern.
         */
        public CharMappingCreator() {
            super("mapping.*\\.txt");
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/chat/ChatAction.java

         */
        @Execute
        public HtmlResponse index() {
            if (logger.isDebugEnabled()) {
                logger.debug("Chat page requested. Checking availability...");
            }
    
            if (!chatClient.isAvailable()) {
                if (logger.isInfoEnabled()) {
                    logger.info("Redirecting to search page. RAG chat is not available.");
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Mar 10 14:54:51 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiCreator.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.dict.DictionaryCreator;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.dict.DictionaryItem;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * A dictionary creator for Kuromoji.
     */
    public class KuromojiCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(KuromojiCreator.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                    s3Client.createBucket(createRequest);
                    logger.info("Created storage bucket: {}", bucket);
                } catch (final Exception e1) {
                    logger.warn("Failed to create storage bucket: {}", bucket, e1);
                }
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to check bucket: {}", bucket, e);
                }
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/timer/LoadControlMonitorTarget.java

                consecutiveFailures = 0;
                if (logger.isDebugEnabled()) {
                    logger.debug("Search Engine CPU: {}%", maxCpu);
                }
            } catch (final Exception e) {
                systemHelper.setSearchEngineCpuPercent((short) 0);
                consecutiveFailures++;
                if (consecutiveFailures <= 3) {
                    logger.warn("Failed to get search engine CPU stats.", e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

     * Provides functionality to encode/decode permission strings and extract
     * role type information from various file system protocols (SMB, file, FTP).
     */
    public class PermissionHelper {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(PermissionHelper.class);
    
        /** Prefix used to identify role-based permissions */
        protected String rolePrefix = "{role}";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Using exclude pattern: {}", pattern);
                    }
                }
                if (paramMap.get(URL_EXCLUDE_PATTERN) instanceof final Pattern pattern) {
                    if (pattern.matcher(url).matches()) {
                        if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  10. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

     * data stores, including bulk operations, document transformation, and error handling.
     */
    public class IndexUpdateCallbackImpl implements IndexUpdateCallback {
        private static final Logger logger = LogManager.getLogger(IndexUpdateCallbackImpl.class);
    
        /**
         * Default constructor for index update callback implementation.
         * Creates a new instance with default values.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
Back to Top