aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-09 04:18:16 +0800
committerobscuren <geffobscura@gmail.com>2015-04-09 04:18:16 +0800
commit6e2f78ebdd4c8d0d150327400a16d67cb65fc482 (patch)
treea04eef0289485f0d2e6f52b817a23cfebbc87834 /cmd/utils
parent2e2860e4df4500d1e801c9753ea71014738b83d3 (diff)
downloaddexon-6e2f78ebdd4c8d0d150327400a16d67cb65fc482.tar.gz
dexon-6e2f78ebdd4c8d0d150327400a16d67cb65fc482.tar.zst
dexon-6e2f78ebdd4c8d0d150327400a16d67cb65fc482.zip
Default log to stderr
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 51844a68e..c69faba03 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -231,7 +231,8 @@ func MakeEthConfig(clientID, version string, ctx *cli.Context) *eth.Config {
// Set verbosity on glog
glog.SetV(ctx.GlobalInt(LogLevelFlag.Name))
// Set the log type
- glog.SetToStderr(ctx.GlobalBool(LogToStdErrFlag.Name))
+ //glog.SetToStderr(ctx.GlobalBool(LogToStdErrFlag.Name))
+ glog.SetToStderr(true)
// Set the log dir
glog.SetLogDir(ctx.GlobalString(LogFileFlag.Name))