From 7218eef21208e2e90c29a46c9737dc0cd5b8a999 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 20 Nov 2014 10:05:55 +0800 Subject: [PATCH] logging --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index d476685..d9e2389 100644 --- a/main.go +++ b/main.go @@ -47,7 +47,8 @@ func init() { confChannel := flag.String("channel", "", "this will overwrite Wide.XXXChannel if specified") confDocker := flag.Bool("docker", false, "whether run in a docker container") - flag.Set("logtostderr", "true") + flag.Set("alsologtostderr", "true") + flag.Set("stderrthreshold", "INFO") flag.Set("v", "3") flag.Parse()