Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LookupConfigForSubSys (0.09 sec)

  1. internal/logger/config.go

    			MaxRetry:    maxRetry,
    			RetryIntvl:  retryInterval,
    			Name:        auditTargetNamePrefix + k,
    		}
    	}
    	return cfg, nil
    }
    
    // LookupConfigForSubSys - lookup logger config, override with ENVs if set, for the given sub-system
    func LookupConfigForSubSys(ctx context.Context, scfg config.Config, subSys string) (cfg Config, err error) {
    	switch subSys {
    	case config.LoggerWebhookSubSys:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. cmd/config-current.go

    			scannerExcessFolders.Store(scannerCfg.ExcessFolders)
    			configLogIf(ctx, scannerSleeper.Update(scannerCfg.Delay, scannerCfg.MaxWait))
    		}
    	case config.LoggerWebhookSubSys:
    		loggerCfg, err := logger.LookupConfigForSubSys(ctx, s, config.LoggerWebhookSubSys)
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to load logger webhook config: %w", err))
    		}
    		userAgent := getUserAgent(getMinioMode())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top