]> git.mxchange.org Git - flightgear.git/commitdiff
degrade MP chat messages from SG_ALERT fo SG_WARN
authormfranz <mfranz>
Mon, 23 Mar 2009 15:23:50 +0000 (15:23 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 1 Apr 2009 07:23:54 +0000 (09:23 +0200)
(they should not drown real error messages)

src/MultiPlayer/multiplaymgr.cxx

index f413af67ebddb21da3fa6c40246c743b035430e7..ca5a1753f79db8eff7561f5e7bea3be235406717 100644 (file)
@@ -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<const T_ChatMsg *>(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;