mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
commit
7403b2335c
@ -26,6 +26,11 @@ import (
|
|||||||
|
|
||||||
var logFlushFreq = flag.Duration("log_flush_frequency", 5*time.Second, "Maximum number of seconds between log flushes")
|
var logFlushFreq = flag.Duration("log_flush_frequency", 5*time.Second, "Maximum number of seconds between log flushes")
|
||||||
|
|
||||||
|
// TODO(thockin): This is temporary until we agree on log dirs and put those into each cmd.
|
||||||
|
func init() {
|
||||||
|
flag.Set("logtostderr", "true")
|
||||||
|
}
|
||||||
|
|
||||||
// This serves as a bridge between the standard log package and the glog package.
|
// This serves as a bridge between the standard log package and the glog package.
|
||||||
type GlogWriter struct{}
|
type GlogWriter struct{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user