mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
254 B
15 lines
254 B
9 years ago
|
package kube
|
||
|
|
||
|
import (
|
||
|
"flag"
|
||
|
"fmt"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
if level := os.Getenv("KUBE_LOG_LEVEL"); level != "" {
|
||
|
flag.Set("vmodule", fmt.Sprintf("loader=%s,round_trippers=%s,request=%s", level, level, level))
|
||
|
flag.Set("logtostderr", "true")
|
||
|
}
|
||
|
}
|