Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for Logger (0.24 sec)

  1. internal/logger/logger.go

    package logger
    
    import (
    	"context"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"go/build"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/highwayhash"
    	"github.com/minio/madmin-go/v3"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. cmd/ftp-server.go

    		ExplicitFTPS:   tls,
    		Logger:         &minioLogger{},
    		PassivePorts:   portRange,
    		PublicIP:       publicIP,
    	})
    	if err != nil {
    		logger.Fatal(err, "unable to initialize FTP server")
    	}
    
    	logger.Info(fmt.Sprintf("%s listening on %s", name, net.JoinHostPort(publicIP, strconv.Itoa(port))))
    
    	if err = ftpServer.ListenAndServe(); err != nil {
    		logger.Fatal(err, "unable to start FTP server")
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
  3. cmd/notification.go

    			g.errs[index].Err = nil
    			if err := f(); err != nil {
    				g.errs[index].Err = err
    				// Last iteration log the error.
    				if i == g.retryCount-1 {
    					reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", addr.String())
    					ctx := logger.SetReqInfo(ctx, reqInfo)
    					peersLogOnceIf(ctx, err, addr.String())
    				}
    				// Wait for a minimum of 100ms and dynamically increase this based on number of attempts.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  4. 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()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. internal/kms/kes.go

    			}
    		}
    	}()
    
    	go c.refreshKMSMasterKeyCache(logger)
    	return c, nil
    }
    
    // Request KES keep an up-to-date copy of the KMS master key to allow minio to start up even if KMS is down. The
    // cached key may still be evicted if the period of this function is longer than that of KES .cache.expiry.unused
    func (c *kesClient) refreshKMSMasterKeyCache(logger Logger) {
    	ctx := context.Background()
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  6. cmd/logging.go

    	"github.com/minio/minio/internal/logger"
    )
    
    func replLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "replication", err, errKind...)
    }
    
    func replLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "replication", err, id, errKind...)
    }
    
    func iamLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "iam", err, errKind...)
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  7. cmd/metrics-v3-cluster-audit.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    
    	"github.com/minio/minio/internal/logger"
    )
    
    const (
    	auditFailedMessages    = "failed_messages"
    	auditTargetQueueLength = "target_queue_length"
    	auditTotalMessages     = "total_messages"
    	targetID               = "target_id"
    )
    
    var (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 09:18:02 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. internal/store/store.go

    func StreamItems[I any](store Store[I], target Target, doneCh <-chan struct{}, logger logger) {
    	go func() {
    		keyCh := replayItems(store, doneCh, logger, target.Name())
    		sendItems(target, keyCh, doneCh, logger)
    	}()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. docs/sts/dex.yaml

      telemetry:
        http: 0.0.0.0:5558
    
    # Uncomment this block to enable configuration for the expiration time durations.
    expiry:
      signingKeys: "3h"
      idTokens: "3h"
    
      # Options for controlling the logger.
      logger:
        level: "debug"
        format: "text" # can also be "json"
    
    # Default values shown below
    oauth2:
      # use ["code", "token", "id_token"] to enable implicit flow for web-only clients
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 15 11:55:55 GMT 2020
    - 2.7K bytes
    - Viewed (1)
  10. cmd/server-main.go

    func serverCmdArgs(ctx *cli.Context) []string {
    	v, _, _, err := env.LookupEnv(config.EnvArgs)
    	if err != nil {
    		logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    			config.EnvArgs, os.Getenv(config.EnvArgs))
    	}
    	if v == "" {
    		v, _, _, err = env.LookupEnv(config.EnvVolumes)
    		if err != nil {
    			logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    				config.EnvVolumes, os.Getenv(config.EnvVolumes))
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
Back to top