You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fs.StringVar(&c.Format, "logging-format", c.Format, fmt.Sprintf("Sets the log format. Permitted formats: %s.\nNon-default formats don't honor these flags: %s.\nNon-default choices are currently alpha and subject to change without warning.", formats, unsupportedFlags))
Copy file name to clipboardExpand all lines: staging/src/k8s.io/component-base/logs/logs.go
+11-37
Original file line number
Diff line number
Diff line change
@@ -27,16 +27,11 @@ import (
27
27
28
28
"github.com/spf13/pflag"
29
29
logsapi "k8s.io/component-base/logs/api/v1"
30
+
"k8s.io/component-base/logs/klogflags"
30
31
"k8s.io/klog/v2"
31
32
)
32
33
33
-
constdeprecated="will be removed in a future release, see https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components"
34
-
35
-
// TODO (https://github.com/kubernetes/kubernetes/issues/105310): once klog
36
-
// flags are removed, stop warning about "Non-default formats don't honor these
37
-
// flags" in config.go and instead add this remark here.
38
-
//
39
-
// const vmoduleUsage = " (only works for the default text log format)"
34
+
constvmoduleUsage=" (only works for the default text log format)"
0 commit comments