From 5b32c9ab1cb7088a1a51ffa2abd73df9697402ab Mon Sep 17 00:00:00 2001 From: mfranz Date: Mon, 23 Mar 2009 15:23:50 +0000 Subject: [PATCH] degrade MP chat messages from SG_ALERT fo SG_WARN (they should not drown real error messages) --- src/MultiPlayer/multiplaymgr.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MultiPlayer/multiplaymgr.cxx b/src/MultiPlayer/multiplaymgr.cxx index f413af67e..ca5a1753f 100644 --- a/src/MultiPlayer/multiplaymgr.cxx +++ b/src/MultiPlayer/multiplaymgr.cxx @@ -929,7 +929,7 @@ FGMultiplayMgr::ProcessPosMsg(const FGMultiplayMgr::MsgBuf& Msg, default: pData->float_value = XDR_decode_float(*xdr); - cerr << "Unknown Prop type " << pData->id << " " << pData->type << "\n"; + SG_LOG(SG_NETWORK, SG_ALERT, "Unknown Prop type " << pData->id << " " << pData->type); xdr++; break; } @@ -978,7 +978,7 @@ FGMultiplayMgr::ProcessChatMsg(const MsgBuf& Msg, const T_ChatMsg* ChatMsg = reinterpret_cast(Msg.Msg + sizeof(T_MsgHdr)); - SG_LOG (SG_NETWORK, SG_ALERT, "Chat [" << MsgHdr->Callsign << "]" + SG_LOG (SG_NETWORK, SG_WARN, "Chat [" << MsgHdr->Callsign << "]" << " " << chatStr); delete [] chatStr; -- 2.39.5