merge upstream; fix port in use warning; new logger API

This commit is contained in:
zelig
2014-06-26 16:37:56 +01:00
6 changed files with 24 additions and 27 deletions

View File

@ -342,7 +342,7 @@ func (s *Ethereum) Start(seed bool) {
// Bind to addr and port
ln, err := net.Listen("tcp", ":"+s.Port)
if err != nil {
ethlogger.Warnln("Connection listening disabled. Acting as client")
ethlogger.Warnf("Port %s in use. Connection listening disabled. Acting as client", s.Port)
s.listening = false
} else {
s.listening = true