Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for consoleLog (0.2 sec)

  1. internal/logger/console.go

    	c.Printf(msg, args...)
    }
    
    // Error :
    func Error(msg string, data ...interface{}) {
    	if DisableErrorLog {
    		return
    	}
    	consoleLog(errorm, msg, data...)
    }
    
    // Info :
    func Info(msg string, data ...interface{}) {
    	if DisableErrorLog {
    		return
    	}
    	consoleLog(info, msg, data...)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. docs/multi-user/admin/README.md

    #### Service management permissions
    
    - admin:ServerInfo
    - admin:ServerUpdate
    - admin:StorageInfo
    - admin:DataUsageInfo
    - admin:TopLocks
    - admin:OBDInfo
    - admin:Profiling,
    - admin:ServerTrace
    - admin:ConsoleLog
    - admin:KMSKeyStatus
    - admin:KMSCreateKey
    - admin:ServiceRestart
    - admin:ServiceStop
    - admin:Prometheus
    - admin:ForceUnlock
    - admin:TopLocksInfo
    - admin:BandwidthMonitor
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    		select {
    		case logCh <- *b:
    		default:
    			consoleLogRPC.PutResponse(b)
    			// Do not block on slow receivers.
    		}
    		return nil
    	})
    }
    
    // ConsoleLog - sends request to peer nodes to get console logs
    func (client *peerRESTClient) ConsoleLog(ctx context.Context, kind madmin.LogMask, logCh chan<- []byte) {
    	go func() {
    		for {
    			client.doConsoleLog(ctx, kind, logCh)
    			select {
    			case <-ctx.Done():
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	// STREAMS
    	// Set an output capacity of 100 for consoleLog and listenRPC
    	// There is another buffer that will buffer events.
    	consoleLogRPC = grid.NewStream[*grid.MSS, grid.NoPayload, *grid.Bytes](grid.HandlerConsoleLog, grid.NewMSS, nil, grid.NewBytes).WithOutCapacity(100)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    			}
    		}
    	}()
    
    	// Collect from matching peers
    	for _, peer := range peers {
    		if peer == nil {
    			continue
    		}
    		if node == "" || strings.EqualFold(peer.host.Name, node) {
    			peer.ConsoleLog(ctx, logKind, encodedCh)
    		}
    	}
    
    	keepAliveTicker := time.NewTicker(500 * time.Millisecond)
    	defer keepAliveTicker.Stop()
    	for {
    		select {
    		case log, ok := <-encodedCh:
    			if !ok {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  6. cmd/sts-handlers_test.go

    ect":"Allow","Action":["kms:*"]},{"Effect":"Allow","Action":["s3:*"],"Resource":["arn:aws:s3:::*"]}]},"diagnostics":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["admin:Prometheus","admin:Profiling","admin:ServerTrace","admin:ConsoleLog","admin:ServerInfo","admin:TopLocksInfo","admin:OBDInfo","admin:BandwidthMonitor"],"Resource":["arn:aws:s3:::*"]}]},"readonly":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["s3:GetBucketLocation","s3:GetObject"],"Resource":["...
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  7. cmd/consolelogger.go

    	var lg log.Info
    	switch e := entry.(type) {
    	case log.Entry:
    		lg = log.Info{Entry: e, NodeName: sys.nodeName}
    	case string:
    		lg = log.Info{ConsoleMsg: e, NodeName: sys.nodeName}
    	}
    	atomic.AddInt64(&sys.totalMessages, 1)
    
    	sys.pubsub.Publish(lg)
    	sys.Lock()
    	// add log to ring buffer
    	sys.logBuf.Value = lg
    	sys.logBuf = sys.logBuf.Next()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top