Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetLoggerHTTP (0.14 sec)

  1. internal/logger/legacy.go

    		},
    		config.KV{
    			Key:   Endpoint,
    			Value: args.Endpoint.String(),
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: args.AuthToken,
    		},
    	}
    }
    
    // SetLoggerHTTP helper for migrating older config to newer KV format.
    func SetLoggerHTTP(scfg config.Config, k string, args http.Config) {
    	if !args.Enabled {
    		// Do not enable logger http targets, if not enabled
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 03 09:47:07 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. cmd/config-migrate.go

    	cfg.Version = "33"
    
    	newCfg := newServerConfig()
    
    	config.SetRegion(newCfg, cfg.Region)
    	storageclass.SetStorageClass(newCfg, cfg.StorageClass)
    
    	for k, loggerArgs := range cfg.Logger.HTTP {
    		logger.SetLoggerHTTP(newCfg, k, loggerArgs)
    	}
    	for k, auditArgs := range cfg.Logger.AuditWebhook {
    		logger.SetLoggerHTTPAudit(newCfg, k, auditArgs)
    	}
    
    	xldap.SetIdentityLDAP(newCfg, cfg.LDAPServerConfig)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top