diff --git a/server/CGameHandler.cpp b/server/CGameHandler.cpp index cc94c8f16..18f8089f6 100644 --- a/server/CGameHandler.cpp +++ b/server/CGameHandler.cpp @@ -2520,7 +2520,7 @@ void CGameHandler::heroExchange(ObjectInstanceID hero1, ObjectInstanceID hero2) void CGameHandler::sendToAllClients( CPackForClient * info ) { - logGlobal->trace("Sending to all clients a package of type %s", typeid(*info).name()); + logNetwork->trace("Sending to all clients a package of type %s", typeid(*info).name()); for(auto & elem : conns) { boost::unique_lock lock(*(elem)->wmx); diff --git a/server/CQuery.cpp b/server/CQuery.cpp index 886b478f4..2def7689e 100644 --- a/server/CQuery.cpp +++ b/server/CQuery.cpp @@ -126,7 +126,7 @@ void CObjectVisitQuery::onExposure(CGameHandler *gh, QueryPtr topQuery) void Queries::popQuery(PlayerColor player, QueryPtr query) { - LOG_TRACE_PARAMS(logGlobal, "player='%s', query='%s'", player % query); + //LOG_TRACE_PARAMS(logGlobal, "player='%s', query='%s'", player % query); if(topQuery(player) != query) { logGlobal->trace("Cannot remove, not a top!"); @@ -147,7 +147,7 @@ void Queries::popQuery(PlayerColor player, QueryPtr query) void Queries::popQuery(const CQuery &query) { - LOG_TRACE_PARAMS(logGlobal, "query='%s'", query); + //LOG_TRACE_PARAMS(logGlobal, "query='%s'", query); assert(query.players.size()); for(auto player : query.players) @@ -174,7 +174,7 @@ void Queries::addQuery(QueryPtr query) void Queries::addQuery(PlayerColor player, QueryPtr query) { - LOG_TRACE_PARAMS(logGlobal, "player='%d', query='%s'", player.getNum() % query); + //LOG_TRACE_PARAMS(logGlobal, "player='%d', query='%s'", player.getNum() % query); query->onAdding(gh, player); queries[player].push_back(query); } @@ -186,7 +186,7 @@ QueryPtr Queries::topQuery(PlayerColor player) void Queries::popIfTop(QueryPtr query) { - LOG_TRACE_PARAMS(logGlobal, "query='%d'", query); + //LOG_TRACE_PARAMS(logGlobal, "query='%d'", query); if(!query) logGlobal->error("The query is nullptr! Ignoring.");