Change the stderr threshold for cli

pull/423/head
galal-hussein 2019-05-01 05:23:32 +02:00
parent 0726ce75e9
commit fae6df0df0
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}