File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ void KeepAliveThread::run()
139
139
NODE_LOG (" KeepAliveThread" )->error () << FILE_FUN << " catch unkown exception|" << endl;
140
140
}
141
141
142
- NODE_LOG (" KeepAliveThread" )->debug () << FILE_FUN << " run use:" << TNOWMS - startMs << " ms, wait:" << _monitorInterval << " ms" << endl;
142
+ // NODE_LOG("KeepAliveThread")->debug() << FILE_FUN << "run use:" << TNOWMS - startMs << " ms, wait:" << _monitorInterval << "ms" << endl;
143
143
144
144
_latestKeepAliveTime = TNOW;
145
145
@@ -293,7 +293,7 @@ void KeepAliveThread::checkAlive()
293
293
294
294
map<string, ServerGroup> mmServerList = ServerFactory::getInstance ()->getAllServers ();
295
295
296
- NODE_LOG (" KeepAliveThread" )->debug () << FILE_FUN << " server list size:" << mmServerList.size () << " , synInterval:" << _synInterval << endl;
296
+ // NODE_LOG("KeepAliveThread")->debug() << FILE_FUN << "server list size:" << mmServerList.size() << ", synInterval:" << _synInterval << endl;
297
297
298
298
map<string, ServerGroup>::const_iterator it = mmServerList.begin ();
299
299
for (; it != mmServerList.end (); it++)
@@ -364,5 +364,5 @@ void KeepAliveThread::checkAlive()
364
364
synStat ();
365
365
}
366
366
367
- NODE_LOG (" KeepAliveThread" )->debug () << FILE_FUN << " checkAlive use:" << TNOWMS - startMs << " ms" << endl;
367
+ // NODE_LOG("KeepAliveThread")->debug() << FILE_FUN << "checkAlive use:" << TNOWMS - startMs << " ms" << endl;
368
368
}
Original file line number Diff line number Diff line change @@ -831,7 +831,7 @@ void ServerObject::reportMemProperty()
831
831
stream = TC_File::load2str (filename);
832
832
if (!stream.empty ())
833
833
{
834
- NODE_LOG (" ReportMemThread" )->debug ()<<FILE_FUN<<" filename:" <<filename<<" ,stream:" <<stream<<endl;
834
+ // NODE_LOG("ReportMemThread")->debug()<<FILE_FUN<<"filename:"<<filename<<",stream:"<<stream<<endl;
835
835
// >>改成上报物理内存
836
836
vector<string> vtStatm = TC_Common::sepstr<string>(stream, " " );
837
837
if (vtStatm.size () < 2 )
@@ -846,7 +846,7 @@ void ServerObject::reportMemProperty()
846
846
if (TC_Common::isdigit (stream))
847
847
{
848
848
REPORT_MAX (_serverId, _serverId+" .memsize" , TC_Common::strto<int >(stream) * 4 );
849
- NODE_LOG (" ReportMemThread" )->debug ()<<FILE_FUN<<" report_max(" <<_serverId<<" .memsize," <<TC_Common::strto<int >(stream)*4 <<" )OK." <<endl;
849
+ NODE_LOG (" ReportMemThread" )->debug ()<<FILE_FUN<<" report_max(" <<_serverId<<" .memsize," <<TC_Common::strto<int >(stream)*4 <<" ) OK." <<endl;
850
850
return ;
851
851
}
852
852
else
You can’t perform that action at this time.
0 commit comments