Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for configLogOnceIf (0.74 sec)

  1. cmd/logging.go

    	logger.LogIf(ctx, "transition", err, errKind...)
    }
    
    func configLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "config", err, errKind...)
    }
    
    func configLogOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, "config", err, id, errKind...)
    }
    
    func configLogOnceConsoleIf(ctx context.Context, err error, id string, errKind ...any) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		}
    		for n, l := range loggerCfg.AuditKafka {
    			if l.Enabled {
    				if l.TLS.Enable {
    					l.TLS.RootCAs = globalRootCAs
    				}
    				l.LogOnce = configLogOnceIf
    				loggerCfg.AuditKafka[n] = l
    			}
    		}
    		if errs := logger.UpdateAuditKafkaTargets(ctx, loggerCfg); len(errs) > 0 {
    			configLogIf(ctx, fmt.Errorf("Unable to update audit kafka targets: %v", errs))
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top