Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,154 for Logger (0.07 sec)

  1. internal/crypto/sse-s3.go

    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    	if keyID != "" && len(kmsKey) == 0 {
    		logger.CriticalIf(context.Background(), errors.New("The KMS data key must not be empty if a key ID is present"))
    	}
    
    	if metadata == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    // criticalErrorHandler handles panics and fatal errors by
    // `panic(logger.ErrCritical)` as done by `logger.CriticalIf`.
    //
    // It should be always the first / highest HTTP handler.
    func setCriticalErrorHandler(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		defer func() {
    			if rec := recover(); rec == logger.ErrCritical { // handle
    				stack := debug.Stack()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/PythonJob.java

    import org.codelibs.fess.util.JobProcess;
    import org.codelibs.fess.util.SystemUtil;
    
    import jakarta.servlet.ServletContext;
    
    public class PythonJob extends ExecJob {
        static final Logger logger = LogManager.getLogger(PythonJob.class);
    
        protected String filename;
    
        protected List<String> argList = new ArrayList<>();
    
        public PythonJob filename(final String filename) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.util.logging.Logger;
    
    import org.apache.commons.io.output.DeferredFileOutputStream;
    
    public class ContentOutputStream extends DeferredFileOutputStream {
    
        protected static final Logger logger = Logger.getLogger(ContentOutputStream.class.getName());
    
        protected static final String PREFIX = "curl4j-";
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                }
            }
    
            if (listeners == null) {
                listeners = new ArrayList<>();
    
                if (logger.isDebugEnabled()) {
                    listeners.add(new DebugResolutionListener(logger));
                }
    
                listeners.add(new WarningResolutionListener(logger));
            }
    
            ArtifactResolutionResult result = new ArtifactResolutionResult();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
     *     SomeClass.logger.addHandler(handler);
     *     addTearDown(new TearDown() {
     *       public void tearDown() throws Exception {
     *         SomeClass.logger.removeHandler(handler);
     *       }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

    import org.eclipse.aether.transfer.TransferEvent;
    import org.eclipse.aether.transfer.TransferResource;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Slf4jMavenTransferListener
     */
    public class Slf4jMavenTransferListener extends AbstractTransferListener {
    
        protected final Logger out;
    
        public Slf4jMavenTransferListener() {
            this.out = LoggerFactory.getLogger(Slf4jMavenTransferListener.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java

    import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * @author shinsuke
     *
     */
    public class EmlExtractorTest extends PlainTestCase {
        private static final Logger logger = LoggerFactory.getLogger(EmlExtractorTest.class);
    
        public EmlExtractor emlExtractor;
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java

     * under the License.
     */
    package org.apache.maven.cli.logging;
    
    import java.io.PrintStream;
    
    import org.slf4j.Logger;
    import org.slf4j.Marker;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * @since 3.1.0
     */
    public class Slf4jStdoutLogger implements Logger {
        private static final String ERROR = "[ERROR] ";
    
        private final PrintStream out;
    
        public Slf4jStdoutLogger() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            super.setUp();
    
            // logging
            System.setProperty("java.util.logging.SimpleFormatter.format", "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s %2$s %5$s%6$s%n");
            Logger rootLogger = Logger.getLogger("");
            rootLogger.setLevel(Level.ALL);
            ConsoleHandler handler = new ConsoleHandler();
            handler.setFormatter(new SimpleFormatter());
            handler.setLevel(Level.ALL);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top