Adjust some of the logging

This commit is contained in:
Simon Walton 2019-10-03 16:50:24 -07:00
parent b458098409
commit d5d1c08da0
2 changed files with 4 additions and 4 deletions

View file

@ -385,7 +385,7 @@ void DomainServer::parseCommandLine(int argc, char* argv[]) {
} }
if (_iceServerAddr.isEmpty()) { if (_iceServerAddr.isEmpty()) {
qCWarning(domain_server_ice) << "Could not parse an IP address and port combination from" << hostnamePortString; qCWarning(domain_server_ice) << "ALERT: Could not parse an IP address and port combination from" << hostnamePortString;
::exit(0); ::exit(0);
} }
} }
@ -876,7 +876,7 @@ void DomainServer::setupAutomaticNetworking() {
nodeList->startSTUNPublicSocketUpdate(); nodeList->startSTUNPublicSocketUpdate();
} }
} else { } else {
qDebug() << "Cannot enable domain-server automatic networking without a domain ID." qCCritical(domain_server) << "PAGE: Cannot enable domain-server automatic networking without a domain ID."
<< "Please add an ID to your config file or via the web interface."; << "Please add an ID to your config file or via the web interface.";
return; return;
} }

View file

@ -1155,7 +1155,7 @@ void LimitedNodeList::startSTUNPublicSocketUpdate() {
void LimitedNodeList::possiblyTimeoutSTUNAddressLookup() { void LimitedNodeList::possiblyTimeoutSTUNAddressLookup() {
if (_stunSockAddr.getAddress().isNull()) { if (_stunSockAddr.getAddress().isNull()) {
// our stun address is still NULL, but we've been waiting for long enough - time to force a fail // our stun address is still NULL, but we've been waiting for long enough - time to force a fail
qCWarning(networking) << "PAGE: Failed to lookup address of STUN server" << STUN_SERVER_HOSTNAME; qCCritical(networking) << "PAGE: Failed to lookup address of STUN server" << STUN_SERVER_HOSTNAME;
stopInitialSTUNUpdate(false); stopInitialSTUNUpdate(false);
} }
} }
@ -1244,7 +1244,7 @@ void LimitedNodeList::errorTestingLocalSocket() {
// then use our possibly updated guessed local address as fallback // then use our possibly updated guessed local address as fallback
if (!_hasTCPCheckedLocalSocket) { if (!_hasTCPCheckedLocalSocket) {
setLocalSocket(HifiSockAddr { getGuessedLocalAddress(), _nodeSocket.localPort() }); setLocalSocket(HifiSockAddr { getGuessedLocalAddress(), _nodeSocket.localPort() });
qCWarning(networking) << "PAGE: Can't connect to Google DNS service, falling back to guessed local address" qCCritical(networking) << "PAGE: Can't connect to Google DNS service via TCP, falling back to guessed local address"
<< getLocalSockAddr(); << getLocalSockAddr();
} }