Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for logging (0.22 sec)

  1. cmd/logging.go

    }
    
    func kmsLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "kms", err, errKind...)
    }
    
    // KMSLogger permits access to kms module specific logging
    type KMSLogger struct{}
    
    // LogOnceIf is the implementation of LogOnceIf, accessible using the Logger interface
    func (l KMSLogger) LogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig.go

    		Short: "Manage istiod logging.",
    		Long:  "Retrieve or update logging levels of istiod components.",
    		Example: `  # Retrieve information about istiod logging levels.
      istioctl admin log
    
      # Retrieve information about istiod logging levels on a specific control plane pod.
      istioctl admin l istiod-5c868d8bdd-pmvgg
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			wantException:  true, // "istioctl proxy-config listeners invalid" should fail
    		},
    		{ // logging empty
    			args:           strings.Split("log", " "),
    			expectedString: "Error: log requires pod name or --selector",
    			wantException:  true, // "istioctl proxy-config logging empty" should fail
    		},
    		{ // logging invalid
    			args:           strings.Split("log invalid", " "),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig.go

    )
    
    const (
    	// OffLevel disables logging
    	OffLevel Level = iota
    	// CriticalLevel enables critical level logging
    	CriticalLevel
    	// ErrorLevel enables error level logging
    	ErrorLevel
    	// WarningLevel enables warning level logging
    	WarningLevel
    	// InfoLevel enables info level logging
    	InfoLevel
    	// DebugLevel enables debug level logging
    	DebugLevel
    	// TraceLevel enables trace level logging
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  5. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    			expectedString:   "unrecognized logging level: pool:debug",
    			wantException:    true,
    		},
    		{ // logger name valid and logging level valid
    			execClientConfig: loggingConfig,
    			args:             strings.Split("log ztunnel-9v7nw --level ztunnel::pool:debug", " "),
    			expectedString:   "",
    			wantException:    false,
    		},
    		{ // set ztunnel logging level
    			execClientConfig: loggingConfig,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. istioctl/pkg/root/root.go

    	IstioConfig = env.Register("ISTIOCONFIG", defaultIstioctlConfig,
    		"Default values for istioctl flags").Get()
    
    	LoggingOptions = defaultLogOptions()
    
    	// scope is for dev logging.  Warning: log levels are not set by --log_output_level until command is Run().
    	Scope = log.RegisterScope("cli", "istioctl")
    )
    
    func defaultLogOptions() *log.Options {
    	o := log.DefaultOptions()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Mar 26 20:38:10 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  7. internal/http/response-recorder.go

    	}
    	gzipped := lrw.Header().Get("Content-Encoding") == "gzip"
    	if !gzipped && ((lrw.LogErrBody && lrw.StatusCode >= http.StatusBadRequest) || lrw.LogAllBody) {
    		// Always logging error responses.
    		lrw.body.Write(p)
    	}
    	if err != nil {
    		return n, err
    	}
    	return n, err
    }
    
    // Write the headers into the given buffer
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 02 00:13:19 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. internal/logger/logger.go

    }
    
    func buildLogEntry(ctx context.Context, subsystem, message string, trace []string, errKind ...interface{}) log.Entry {
    	logKind := madmin.LogKindError
    	if len(errKind) > 0 {
    		if ek, ok := errKind[0].(madmin.LogKind); ok {
    			logKind = ek
    		}
    	}
    
    	req := GetReqInfo(ctx)
    	if req == nil {
    		req = &ReqInfo{
    			API:       "SYSTEM",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex.go

    	"github.com/minio/pkg/v2/console"
    	"github.com/minio/pkg/v2/env"
    )
    
    // Indicator if logging is enabled.
    var dsyncLog bool
    
    // Retry unit interval
    var lockRetryMinInterval time.Duration
    
    var lockRetryBackOff func(*rand.Rand, uint) time.Duration
    
    func init() {
    	// Check for MINIO_DSYNC_TRACE env variable, if set logging will be enabled for failed REST operations.
    	dsyncLog = env.Get("_MINIO_DSYNC_TRACE", "0") == "1"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. internal/logger/audit.go

    		if auditEntry != nil {
    			entry = *auditEntry
    		}
    	}
    
    	// Send audit logs only to http targets.
    	for _, t := range auditTgts {
    		if err := t.Send(ctx, entry); err != nil {
    			LogOnceIf(ctx, "logging", fmt.Errorf("Unable to send an audit event to the target `%v`: %v", t, err), "send-audit-event-failure")
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top