From 7875de7d2ffa11f98b6dde66182de4a8face2772 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Wed, 27 May 2015 10:01:13 -0700 Subject: [PATCH] etcdmian: remove main prefix in logging We are using new log pkg, which adds the prefix for us. --- etcdmain/etcd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcdmain/etcd.go b/etcdmain/etcd.go index f750ec2c1..ffa42da1a 100644 --- a/etcdmain/etcd.go +++ b/etcdmain/etcd.go @@ -76,7 +76,7 @@ func Main() { if envMaxProcs, err := strconv.Atoi(os.Getenv("GOMAXPROCS")); err == nil { GoMaxProcs = envMaxProcs } - log.Printf("main: setting maximum number of CPUs to %d, total number of available CPUs is %d", GoMaxProcs, runtime.NumCPU()) + log.Printf("setting maximum number of CPUs to %d, total number of available CPUs is %d", GoMaxProcs, runtime.NumCPU()) runtime.GOMAXPROCS(GoMaxProcs) // TODO: check whether fields are set instead of whether fields have default value