diff options
author | obscuren <geffobscura@gmail.com> | 2014-06-26 17:26:42 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-06-26 17:26:42 +0800 |
commit | 0ed19d9f2024744ba93d0e34db6939766b3cfed5 (patch) | |
tree | 76f36ff8ed0a21bcb9976e6d9919401990061b60 /ethereum.go | |
parent | 39cb34850a573ea9b2ea73eb624139684502bc79 (diff) | |
download | dexon-0ed19d9f2024744ba93d0e34db6939766b3cfed5.tar.gz dexon-0ed19d9f2024744ba93d0e34db6939766b3cfed5.tar.zst dexon-0ed19d9f2024744ba93d0e34db6939766b3cfed5.zip |
Logging, variable rearrangement
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereum.go b/ethereum.go index a6cb78b1f..6345f8864 100644 --- a/ethereum.go +++ b/ethereum.go @@ -340,7 +340,7 @@ func (s *Ethereum) Start(seed bool) { // Bind to addr and port ln, err := net.Listen("tcp", ":"+s.Port) if err != nil { - log.Println("Connection listening disabled. Acting as client") + ethutil.Config.Log.Infof("port=%s in use. Connection listening disabled.") s.listening = false } else { s.listening = true @@ -395,7 +395,7 @@ func (s *Ethereum) Seed() { peers = append(peers, peer) } } else { - ethutil.Config.Log.Debugln("[SERV} Couldn't resolve :", target) + ethutil.Config.Log.Debugln("[SERV] Couldn't resolve :", target) } } // Connect to Peer list |