now logging bind failures as warnings.
This commit is contained in:
parent
fec679cfe5
commit
5e4289dc80
|
@ -1178,11 +1178,11 @@ CServer::acceptClients(void*)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
catch (XSocketBind& e) {
|
catch (XSocketBind& e) {
|
||||||
log((CLOG_DEBUG1 "bind failed: %s", e.getErrstr()));
|
log((CLOG_WARN "bind failed: %s", e.getErrstr()));
|
||||||
|
|
||||||
// give up if we've waited too long
|
// give up if we've waited too long
|
||||||
if (timer.getTime() >= m_bindTimeout) {
|
if (timer.getTime() >= m_bindTimeout) {
|
||||||
log((CLOG_DEBUG1 "waited too long to bind, giving up"));
|
log((CLOG_ERR "waited too long to bind, giving up"));
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue