Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for proxyLogIf (0.09 sec)

  1. cmd/logging.go

    package cmd
    
    import (
    	"context"
    	"errors"
    
    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/minio/internal/logger"
    )
    
    func proxyLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "proxy", err, errKind...)
    }
    
    func replLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "replication", err, errKind...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 18:49:48 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. cmd/server-main.go

    	globalForwarder = handlers.NewForwarder(&handlers.Forwarder{
    		PassHost:     true,
    		RoundTripper: globalRemoteTargetTransport,
    		Logger: func(err error) {
    			if err != nil && !errors.Is(err, context.Canceled) {
    				proxyLogIf(GlobalContext, err)
    			}
    		},
    	})
    
    	// On macOS, if a process already listens on LOCALIPADDR:PORT, net.Listen() falls back
    	// to IPv6 address ie minio will start listening on IPv6 address whereas another
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top