Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newConsoleLogger (1.36 sec)

  1. cmd/consolelogger.go

    	sync.RWMutex
    	pubsub   *pubsub.PubSub[log.Info, madmin.LogMask]
    	console  *console.Target
    	nodeName string
    	logBuf   *ring.Ring
    }
    
    // NewConsoleLogger - creates new HTTPConsoleLoggerSys with all nodes subscribed to
    // the console logging pub sub system
    func NewConsoleLogger(ctx context.Context, w io.Writer) *HTTPConsoleLoggerSys {
    	return &HTTPConsoleLoggerSys{
    		pubsub:  pubsub.New[log.Info, madmin.LogMask](8),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. cmd/server-main.go

    	// Initialize globalConsoleSys system
    	bootstrapTrace("newConsoleLogger", func() {
    		output, err := initializeLogRotate(ctx)
    		if err == nil {
    			logger.Output = output
    			globalConsoleSys = NewConsoleLogger(GlobalContext, output)
    			globalLoggerOutput = output
    		} else {
    			logger.Output = os.Stderr
    			globalConsoleSys = NewConsoleLogger(GlobalContext, os.Stderr)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  3. cmd/test-utils_test.go

    	// logger.AddTarget(console.New())
    
    	// Set system resources to maximum.
    	setMaxResources(serverCtxt{})
    
    	// Initialize globalConsoleSys system
    	globalConsoleSys = NewConsoleLogger(context.Background(), io.Discard)
    
    	globalInternodeTransport = NewInternodeHTTPTransport(0)()
    
    	initHelp()
    
    	resetTestGlobals()
    
    	globalIsCICD = true
    
    	os.Exit(m.Run())
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
Back to top