From c2abc2df38c66d7a23d1983557d3e14d38634061 Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 20 Jan 2016 17:19:42 +0100 Subject: [PATCH] Core/Logging: Include more info in bad realm log (cherry picked from commit a6dd6d7841d6ab3e496d492d225c5541721c8dfd) --- src/server/game/Server/WorldSocket.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/game/Server/WorldSocket.cpp b/src/server/game/Server/WorldSocket.cpp index 0ee6cd930df..8e704559478 100644 --- a/src/server/game/Server/WorldSocket.cpp +++ b/src/server/game/Server/WorldSocket.cpp @@ -559,7 +559,8 @@ void WorldSocket::HandleAuthSessionCallback(std::shared_ptr authSes if (authSession->RealmID != realm.Id.Realm) { SendAuthResponseError(REALM_LIST_REALM_NOT_FOUND); - TC_LOG_ERROR("network", "WorldSocket::HandleAuthSession: Sent Auth Response (bad realm)."); + TC_LOG_ERROR("network", "WorldSocket::HandleAuthSession: Client %s requested connecting with realm id %u but this realm has id %u set in config.", + GetRemoteIpAddress().to_string().c_str(), authSession->RealmID, realm.Id.Realm); DelayedCloseSocket(); return; }