Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Logging (0.55 sec)

  1. cmd/logging.go

    }
    
    func kmsLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "kms", err, errKind...)
    }
    
    // KMSLogger permits access to kms module specific logging
    type KMSLogger struct{}
    
    // LogOnceIf is the implementation of LogOnceIf, accessible using the Logger interface
    func (l KMSLogger) LogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. internal/logger/config.go

    	AuditKafka   map[string]kafka.Config `json:"audit_kafka"`
    }
    
    // NewConfig - initialize new logger config.
    func NewConfig() Config {
    	cfg := Config{
    		// Console logging is on by default
    		Console: Console{
    			Enabled: true,
    		},
    		HTTP:         make(map[string]http.Config),
    		AuditWebhook: make(map[string]http.Config),
    		AuditKafka:   make(map[string]kafka.Config),
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. internal/logger/console.go

    	"encoding/json"
    	"fmt"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // ConsoleLoggerTgt is a stringified value to represent console logging
    const ConsoleLoggerTgt = "console+http"
    
    // ExitFunc is called by Fatal() class functions, by default it calls os.Exit()
    var ExitFunc = os.Exit
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. cmd/bootstrap-peer-server.go

    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    			retries++
    			// after 20 retries start logging that servers are not reachable yet
    			if retries >= 20 {
    				logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2))
    				if len(offlineEndpoints) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. cmd/consolelogger.go

    	if err != nil {
    		logger.FatalIf(err, "Unable to start console logging subsystem")
    	}
    
    	sys.nodeName = host.Name
    }
    
    // HasLogListeners returns true if console log listeners are registered
    // for this node or peers
    func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool {
    	return sys != nil && sys.pubsub.Subscribers() > 0
    }
    
    // Subscribe starts console logging for this node.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/api-router.go

    		queries: []string{"metrics", ""},
    	},
    	{
    		api:     "website",
    		methods: []string{http.MethodPut},
    		queries: []string{"website", ""},
    	},
    	{
    		api:     "logging",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"logging", ""},
    	},
    	{
    		api:     "accelerate",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"accelerate", ""},
    	},
    	{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    	proxiedHeadRequestsTotal            MetricName = "proxied_head_requests_total"
    	proxiedPutTaggingRequestsTotal      MetricName = "proxied_put_tagging_requests_total"
    	proxiedGetTaggingRequestsTotal      MetricName = "proxied_get_tagging_requests_total"
    	proxiedDeleteTaggingRequestsTotal   MetricName = "proxied_delete_tagging_requests_total"
    	proxiedGetRequestsFailures          MetricName = "proxied_get_requests_failures"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  8. cmd/object-handlers.go

    // ObjectTagSet key value tags
    type ObjectTagSet struct {
    	Tags []tags.Tag `xml:"Tag"`
    }
    
    type objectTagging struct {
    	XMLName xml.Name      `xml:"Tagging"`
    	TagSet  *ObjectTagSet `xml:"TagSet"`
    }
    
    // GetObjectTaggingHandler - GET object tagging
    func (api objectAPIHandlers) GetObjectTaggingHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetObjectTagging")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  9. cmd/admin-heal-ops.go

    	healFailedItemsMap map[string]int64
    
    	// The time of the last scan/heal activity
    	lastHealActivity time.Time
    
    	// Holds the request-info for logging
    	ctx context.Context
    
    	// used to lock this structure as it is concurrently accessed
    	mutex sync.RWMutex
    }
    
    // NewHealSequence - creates healSettings, assumes bucket and
    // objPrefix are already validated.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  10. cmd/common-main.go

    	if err != nil {
    		return nil, err
    	}
    
    	api := operations.NewConsoleAPI(swaggerSpec)
    
    	if !serverDebugLog {
    		// Disable console logging if server debug log is not enabled
    		noLog := func(string, ...interface{}) {}
    
    		consoleapi.LogInfo = noLog
    		consoleapi.LogError = noLog
    		api.Logger = noLog
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top