aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-14 19:06:13 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-14 19:06:13 +0800
commit7fa740996cf01b56a734e579fcfcd9c2e8585ac5 (patch)
tree23a9fcf8248a12570e67155c21263f50df014f39 /cmd
parentc7a13c9be86417848582a2ab6704586f92dff27c (diff)
parent5f706cd7f5a97b3354b23de4273009f08586ff04 (diff)
downloaddexon-7fa740996cf01b56a734e579fcfcd9c2e8585ac5.tar
dexon-7fa740996cf01b56a734e579fcfcd9c2e8585ac5.tar.gz
dexon-7fa740996cf01b56a734e579fcfcd9c2e8585ac5.tar.bz2
dexon-7fa740996cf01b56a734e579fcfcd9c2e8585ac5.tar.lz
dexon-7fa740996cf01b56a734e579fcfcd9c2e8585ac5.tar.xz
dexon-7fa740996cf01b56a734e579fcfcd9c2e8585ac5.tar.zst
dexon-7fa740996cf01b56a734e579fcfcd9c2e8585ac5.zip
Merge pull request #960 from fjl/nat-fixes
p2p/nat: fix UPnP auto discovery
Diffstat (limited to 'cmd')
-rw-r--r--cmd/utils/flags.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index ddbd36b5c..6ec4fdc55 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -277,6 +277,7 @@ func GetNodeKey(ctx *cli.Context) (key *ecdsa.PrivateKey) {
func MakeEthConfig(clientID, version string, ctx *cli.Context) *eth.Config {
// Set verbosity on glog
glog.SetV(ctx.GlobalInt(VerbosityFlag.Name))
+ glog.CopyStandardLogTo("INFO")
// Set the log type
//glog.SetToStderr(ctx.GlobalBool(LogToStdErrFlag.Name))
glog.SetToStderr(true)