Merge pull request #960 from fjl/nat-fixes

p2p/nat: fix UPnP auto discovery
This commit is contained in:
Jeffrey Wilcke
2015-05-14 04:06:13 -07:00
142 changed files with 189479 additions and 25 deletions

View File

@ -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)