mirror of https://github.com/k3s-io/k3s
Change the stderr threshold for cli
parent
0726ce75e9
commit
fae6df0df0
|
@ -29,7 +29,7 @@ import (
|
|||
|
||||
func setupLogging(app *cli.Context) {
|
||||
if !app.GlobalBool("debug") {
|
||||
flag.Set("stderrthreshold", "3")
|
||||
flag.Set("stderrthreshold", "WARNING")
|
||||
flag.Set("alsologtostderr", "false")
|
||||
flag.Set("logtostderr", "false")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue