Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,288 for Logger (1.74 sec)

  1. logger/slog_test.go

    //go:build go1.21
    
    package logger
    
    import (
    	"bytes"
    	"context"
    	"log/slog"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestSlogLogger(t *testing.T) {
    	buf := &bytes.Buffer{}
    	handler := slog.NewTextHandler(buf, &slog.HandlerOptions{AddSource: true})
    	logger := NewSlogLogger(slog.New(handler), Config{LogLevel: Info})
    
    	logger.Trace(context.Background(), time.Now(), func() (string, int64) {
    		return "select count(*) from users", 0
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 10:56:26 UTC 2025
    - 782 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

        }
    
        /**
         * Prints thread dump information to the logger at INFO level.
         */
        public static void printThreadDump() {
            processThreadDump(logger::info);
        }
    
        /**
         * Prints thread dump information to the logger at WARN level.
         */
        public static void printThreadDumpAsWarn() {
            processThreadDump(logger::warn);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

                    }
                }
            }
    
            return false;
        }
    
        @Override
        public void enableLogging(Logger logger) {
            this.logger = logger;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                case 404:
                    if (logger.isDebugEnabled()) {
                        logger.debug("Object not found: bucket={}, path={}", bucketName, path);
                    }
                    break;
                case 403:
                    throw new CrawlingAccessException("Access denied: bucket=" + bucketName + ", path=" + path, e);
                default:
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

     * system.
     *
     * @author shinsuke
     *
     */
    public class FileSystemClient extends AbstractCrawlerClient {
    
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FileSystemClient.class);
    
        /** Key for file attribute view in metadata */
        public static final String FILE_ATTRIBUTE_VIEW = "fileAttributeView";
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

                        permissions = null;
                        if (logger.isDebugEnabled()) {
                            logger.debug("Token refreshed successfully via silent authentication");
                        }
                        return true;
                    }
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Silent token refresh failed: {}", e.getMessage());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class TikaExtractorTest extends PlainTestCase {
        private static final Logger logger = LogManager.getLogger(TikaExtractorTest.class);
    
        public TikaExtractor tikaExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to apply interval control rules", e);
                }
            }
    
            try {
                super.delayForWaitingNewUrl();
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to execute parent delay logic", e);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 07:09:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         *
         * @return the command (human) name
         */
        @Nonnull
        String commandName();
    
        /**
         * Returns the logger to be used during the parsing process.
         *
         * @return the logger instance
         */
        @Nonnull
        Logger logger();
    
        /**
         * Returns the factory for creating message builders.
         *
         * @return the message builder factory
         */
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

            if (logger.isDebugEnabled()) {
                smb1AuthList.forEach(smb1Auth -> logger
                        .debug("Smb1Authentication: " + smb1Auth.getServer() + ":" + smb1Auth.getPort() + " " + smb1Auth.getUsername()));
            }
            paramMap.put(Param.Client.FTP_AUTHENTICATIONS, ftpAuthList.toArray(new FtpAuthentication[ftpAuthList.size()]));
            if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top