Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for logging (0.15 sec)

  1. 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)
  2. 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)
  3. cmd/data-scanner_test.go

    		retention lock.Retention
    		obj       ObjectInfo
    		want      lifecycle.Action
    	}{
    		{
    			// with object locking
    			ilm:       *deleteAllLc,
    			retention: lock.Retention{LockEnabled: true},
    			obj:       obj,
    			want:      lifecycle.NoneAction,
    		},
    		{
    			// without object locking
    			ilm:       *deleteAllLc,
    			retention: lock.Retention{},
    			obj:       obj,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. 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)
  5. cmd/erasure-server-pool.go

    			return nil, fmt.Errorf("parity validation returned an error: %w <- (%d, %d), for pool(%s)", err, commonParityDrives, ep.DrivesPerSet, humanize.Ordinal(i+1))
    		}
    
    		bootstrapTrace("waitForFormatErasure: loading disks", func() {
    			storageDisks[i], formats[i], err = waitForFormatErasure(local, ep.Endpoints, i+1,
    				ep.SetCount, ep.DrivesPerSet, deploymentID)
    		})
    		if err != nil {
    			return nil, err
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    	},
    	ErrInvalidLifecycleWithObjectLock: {
    		Code:           "InvalidLifecycleWithObjectLock",
    		Description:    "The lifecycle configuration containing MaxNoncurrentVersions is not supported with object locking",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrNoSuchBucketSSEConfig: {
    		Code:           "ServerSideEncryptionConfigurationNotFoundError",
    		Description:    "The server side encryption configuration was not found",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  7. 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)
  8. cmd/test-utils_test.go

    	} {
    		os.Unsetenv(env)
    	}
    
    	// Set as non-distributed.
    	globalIsDistErasure = false
    
    	// Disable printing console messages during tests.
    	color.Output = io.Discard
    	// Disable Error logging in testing.
    	logger.DisableErrorLog = true
    
    	// Uncomment the following line to see trace logs during unit tests.
    	// logger.AddTarget(console.New())
    
    	// Set system resources to maximum.
    	setMaxResources(nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	ReplicaTimestamp = "replica-timestamp"
    	// TaggingTimestamp - the last time a tag metadata modification happened on this cluster for this object version
    	TaggingTimestamp = "tagging-timestamp"
    	// ObjectLockRetentionTimestamp - the last time a object lock metadata modification happened on this cluster for this object version
    	ObjectLockRetentionTimestamp = "objectlock-retention-timestamp"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. cmd/site-replication.go

    			continue
    		}
    		if dID == globalDeploymentID() {
    			if _, err := globalBucketMetadataSys.Update(ctx, bucket, bucketTaggingConfig, latestTaggingConfigBytes); err != nil {
    				replLogIf(ctx, fmt.Errorf("Unable to heal tagging metadata from peer site %s : %w", latestPeerName, err))
    			}
    			continue
    		}
    
    		admClient, err := c.getAdminClient(ctx, dID)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top