diff options
author | Aokromes <Aokromes@users.noreply.github.com> | 2016-08-11 09:10:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-11 09:10:20 +0200 |
commit | 1ad24352acebbc4d7c8829cd111a2f3ba010891a (patch) | |
tree | 90b90d39f8ad6f4f732a33eaa5b795b5e5215976 /src/server/authserver/Server/AuthSession.cpp | |
parent | 70b3373da1d00413f7e98178b0085a6d8748e662 (diff) |
Core/Logs: Fine tune more logs
And move others to more logical appenders
Diffstat (limited to 'src/server/authserver/Server/AuthSession.cpp')
-rw-r--r-- | src/server/authserver/Server/AuthSession.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/authserver/Server/AuthSession.cpp b/src/server/authserver/Server/AuthSession.cpp index ec72651ecb7..e5e9524896f 100644 --- a/src/server/authserver/Server/AuthSession.cpp +++ b/src/server/authserver/Server/AuthSession.cpp @@ -387,14 +387,14 @@ void AuthSession::LogonChallengeCallback(PreparedQueryResult result) { pkt << uint8(WOW_FAIL_BANNED); SendPacket(pkt); - TC_LOG_DEBUG("server.authserver", "'%s:%d' [AuthChallenge] Banned account %s tried to login!", ipAddress.c_str(), port, _accountInfo.Login.c_str()); + TC_LOG_INFO("server.authserver.banned", "'%s:%d' [AuthChallenge] Banned account %s tried to login!", ipAddress.c_str(), port, _accountInfo.Login.c_str()); return; } else { pkt << uint8(WOW_FAIL_SUSPENDED); SendPacket(pkt); - TC_LOG_DEBUG("server.authserver", "'%s:%d' [AuthChallenge] Temporarily banned account %s tried to login!", ipAddress.c_str(), port, _accountInfo.Login.c_str()); + TC_LOG_INFO("server.authserver.banned", "'%s:%d' [AuthChallenge] Temporarily banned account %s tried to login!", ipAddress.c_str(), port, _accountInfo.Login.c_str()); return; } } @@ -648,7 +648,7 @@ bool AuthSession::HandleLogonProof() packet << uint8(0); SendPacket(packet); - TC_LOG_DEBUG("server.authserver", "'%s:%d' [AuthChallenge] account %s tried to login with invalid password!", + TC_LOG_INFO("server.authserver.hack", "'%s:%d' [AuthChallenge] account %s tried to login with invalid password!", GetRemoteIpAddress().to_string().c_str(), GetRemotePort(), _accountInfo.Login.c_str()); uint32 MaxWrongPassCount = sConfigMgr->GetIntDefault("WrongPass.MaxCount", 0); @@ -811,7 +811,7 @@ bool AuthSession::HandleReconnectProof() } else { - TC_LOG_ERROR("server.authserver", "'%s:%d' [ERROR] user %s tried to login, but session is invalid.", GetRemoteIpAddress().to_string().c_str(), + TC_LOG_ERROR("server.authserver.hack", "'%s:%d' [ERROR] user %s tried to login, but session is invalid.", GetRemoteIpAddress().to_string().c_str(), GetRemotePort(), _accountInfo.Login.c_str()); return false; } |