diff --git a/ChangeLog b/ChangeLog index 9d825935..601f4191 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-11-10 Tatsuhiro Tsujikawa + + Print IP protocol version when setting up XML-RPC server failed. + * src/HttpListenCommand.cc + 2010-11-10 Tatsuhiro Tsujikawa Retry open(2) and fallocate(2) when they are interrupted by diff --git a/src/HttpListenCommand.cc b/src/HttpListenCommand.cc index 9fc167e1..52e5c0af 100644 --- a/src/HttpListenCommand.cc +++ b/src/HttpListenCommand.cc @@ -119,6 +119,8 @@ bool HttpListenCommand::bindPort(uint16_t port) e_->addSocketForReadCheck(serverSocket_, this); return true; } catch(RecoverableException& e) { + getLogger()->error("Failed to setup XML-RPC server for IPv%d", + family_ == AF_INET?4:6); getLogger()->error(MSG_BIND_FAILURE, e, util::itos(getCuid()).c_str(), port); if(!serverSocket_.isNull()) {