1
0
Fork 0

MP: reduce a replay message level, to avoid spamming at INFO

This commit is contained in:
James Turner 2021-03-07 12:32:38 +00:00
parent 497a99f8d7
commit 7e074f6b8b

View file

@ -1919,10 +1919,9 @@ int FGMultiplayMgr::GetMsg(MsgBuf& msgBuf, simgear::IPAddress& SenderAddress)
memcpy(&msgBuf.Msg, &replayMessage->front(), length);
// Don't return recorded chat messages.
if (msgBuf.Header.MsgId != CHAT_MSG_ID) {
SG_LOG(SG_NETWORK, SG_INFO,
"replaying message length=" << replayMessage->size()
<< ". num remaining messages=" << mReplayMessageQueue.size()
);
SG_LOG(SG_NETWORK, SG_BULK,
"replaying message length=" << replayMessage->size()
<< ". num remaining messages=" << mReplayMessageQueue.size());
return length;
}
}