mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Merge pull request #423 from galal-hussein/change_threshold
Change the stderr threshold for cli
This commit is contained in:
commit
9005fd5176
|
@ -29,7 +29,7 @@ import (
|
||||||
|
|
||||||
func setupLogging(app *cli.Context) {
|
func setupLogging(app *cli.Context) {
|
||||||
if !app.GlobalBool("debug") {
|
if !app.GlobalBool("debug") {
|
||||||
flag.Set("stderrthreshold", "3")
|
flag.Set("stderrthreshold", "WARNING")
|
||||||
flag.Set("alsologtostderr", "false")
|
flag.Set("alsologtostderr", "false")
|
||||||
flag.Set("logtostderr", "false")
|
flag.Set("logtostderr", "false")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user