- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SetStacktracePredicate (3.89 sec)
-
staging/src/k8s.io/apiserver/pkg/server/httplog/httplog.go
if rl := respLoggerFromContext(ctx); rl != nil { rl.AddKeyValue(key, value) } } // SetStacktracePredicate sets a custom stacktrace predicate for the // logger associated with the given request context. func SetStacktracePredicate(ctx context.Context, pred StacktracePred) { if rl := respLoggerFromContext(ctx); rl != nil { rl.StacktraceWhen(pred) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 10:10:35 UTC 2023 - 9.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go
utilruntime.HandleErrorWithContext(r.Context(), nil, "Post-timeout activity", "timeElapsed", time.Since(timedOutAt), "method", r.Method, "path", r.URL.Path, "result", res) }() }() httplog.SetStacktracePredicate(r.Context(), func(status int) bool { return false }) defer postTimeoutFn() tw.timeout(err) } } type timeoutWriter interface { http.ResponseWriter
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go
} // always be verbose on failure if len(failedChecks) > 0 { klog.V(2).Infof("%s check failed: %s\n%v", strings.Join(failedChecks, ","), name, failedVerboseLogOutput.String()) httplog.SetStacktracePredicate(r.Context(), func(int) bool { return false }) http.Error(w, fmt.Sprintf("%s%s check failed", individualCheckOutput.String(), name), http.StatusInternalServerError) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 10.5K bytes - Viewed (0)