mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +02:00
Tweak 'critical' status for some logging
This commit is contained in:
parent
d5d1c08da0
commit
db14cdbd22
3 changed files with 5 additions and 4 deletions
|
@ -1636,7 +1636,8 @@ void DomainServer::handleFailedICEServerAddressUpdate(QNetworkReply* requestRepl
|
||||||
const int ICE_SERVER_UPDATE_RETRY_MS = 2 * 1000;
|
const int ICE_SERVER_UPDATE_RETRY_MS = 2 * 1000;
|
||||||
|
|
||||||
qCWarning(domain_server_ice) << "PAGE: Failed to update ice-server address (" << _iceServerSocket <<
|
qCWarning(domain_server_ice) << "PAGE: Failed to update ice-server address (" << _iceServerSocket <<
|
||||||
") with Metaverse (" << requestReply->url() << ") error:" << requestReply->errorString();
|
") with Metaverse (" << requestReply->url() << ") (critical error for auto-networking) error:" <<
|
||||||
|
requestReply->errorString();
|
||||||
qCWarning(domain_server_ice) << "\tRe-attempting in" << ICE_SERVER_UPDATE_RETRY_MS / 1000 << "seconds";
|
qCWarning(domain_server_ice) << "\tRe-attempting in" << ICE_SERVER_UPDATE_RETRY_MS / 1000 << "seconds";
|
||||||
|
|
||||||
QTimer::singleShot(ICE_SERVER_UPDATE_RETRY_MS, this, SLOT(sendICEServerAddressToMetaverseAPI()));
|
QTimer::singleShot(ICE_SERVER_UPDATE_RETRY_MS, this, SLOT(sendICEServerAddressToMetaverseAPI()));
|
||||||
|
|
|
@ -1035,7 +1035,7 @@ void AccountManager::publicKeyUploadSucceeded(QNetworkReply* reply) {
|
||||||
|
|
||||||
void AccountManager::publicKeyUploadFailed(QNetworkReply* reply) {
|
void AccountManager::publicKeyUploadFailed(QNetworkReply* reply) {
|
||||||
// the public key upload has failed
|
// the public key upload has failed
|
||||||
qWarning() << "PAGE: Public key upload failed from AccountManager to" << reply->url() << reply->errorString();
|
qCritical() << "PAGE: Public key upload failed from AccountManager to" << reply->url() << reply->errorString();
|
||||||
|
|
||||||
// we aren't waiting for a response any longer
|
// we aren't waiting for a response any longer
|
||||||
_isWaitingForKeypairResponse = false;
|
_isWaitingForKeypairResponse = false;
|
||||||
|
|
|
@ -1171,7 +1171,7 @@ void LimitedNodeList::stopInitialSTUNUpdate(bool success) {
|
||||||
if (!success) {
|
if (!success) {
|
||||||
// if we're here this was the last failed STUN request
|
// if we're here this was the last failed STUN request
|
||||||
// use our DS as our stun server
|
// use our DS as our stun server
|
||||||
qCWarning(networking, "PAGE: Failed to lookup public address via STUN server at %s:%hu.",
|
qCWarning(networking, "PAGE: Failed to lookup public address via STUN server at %s:%hu (likely a critical error for auto-networking).",
|
||||||
STUN_SERVER_HOSTNAME, STUN_SERVER_PORT);
|
STUN_SERVER_HOSTNAME, STUN_SERVER_PORT);
|
||||||
qCDebug(networking) << "LimitedNodeList public socket will be set with local port and null QHostAddress.";
|
qCDebug(networking) << "LimitedNodeList public socket will be set with local port and null QHostAddress.";
|
||||||
|
|
||||||
|
@ -1207,7 +1207,7 @@ void LimitedNodeList::updateLocalSocket() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// attempt to use Google's DNS to confirm that local IP
|
// attempt to use Google's DNS to confirm that local IP
|
||||||
static const QHostAddress RELIABLE_LOCAL_IP_CHECK_HOST = QHostAddress{ "8.8.8.8" };
|
static const QHostAddress RELIABLE_LOCAL_IP_CHECK_HOST = QHostAddress { "8.8.8.8" };
|
||||||
static const int RELIABLE_LOCAL_IP_CHECK_PORT = 53;
|
static const int RELIABLE_LOCAL_IP_CHECK_PORT = 53;
|
||||||
|
|
||||||
QTcpSocket* localIPTestSocket = new QTcpSocket;
|
QTcpSocket* localIPTestSocket = new QTcpSocket;
|
||||||
|
|
Loading…
Reference in a new issue