mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Reduce release log spam and harden release logging defaults
This commit is contained in:
parent
5966fedc59
commit
c26353eda1
8 changed files with 137 additions and 52 deletions
|
|
@ -122,12 +122,9 @@ network::Packet LogonChallengePacket::build(const std::string& account, const Cl
|
|||
packet.writeUInt8(localIp[1]);
|
||||
packet.writeUInt8(localIp[2]);
|
||||
packet.writeUInt8(localIp[3]);
|
||||
LOG_DEBUG("LOGON_CHALLENGE client IP=", static_cast<int>(localIp[0]), ".",
|
||||
static_cast<int>(localIp[1]), ".", static_cast<int>(localIp[2]), ".",
|
||||
static_cast<int>(localIp[3]));
|
||||
} else {
|
||||
packet.writeUInt32(0);
|
||||
LOG_WARNING("LOGON_CHALLENGE client IP detection failed; falling back to 0.0.0.0");
|
||||
LOG_DEBUG("LOGON_CHALLENGE client IP detection failed; using 0.0.0.0 fallback");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue