@@ -96,12 +96,12 @@ void ReapSSDProcThread::run()
96
96
TLOGDEBUG (" ReapSSDProcThread::run stat ip:" << ServerConfig::LocalIp << " |dbIndex:" << item._index << " |" << PropertyDbManager::getInstance ()->getIpAndPort (item._index )
97
97
<< " |date:" << item._date << " |tflag:" << item._tflag << " |timecost(ms):" << (iEnd - iBegin) << " |iBegin:" << iBegin << " |iEnd:" << iEnd << endl);
98
98
99
- FDLOG (" PropertyPool" ) << " ReapSSDProcThread::run stat ip:" << ServerConfig::LocalIp << " |dbIndex:" << item._index << " |" << PropertyDbManager::getInstance ()->getIpAndPort (item._index )
100
- << " |date:" << item._date << " |tflag:" << item._tflag << " |timecost(ms):" << (iEnd - iBegin) << " |iBegin:" << iBegin << " |iEnd:" << iEnd << endl;
99
+ // FDLOG("PropertyPool") << "ReapSSDProcThread::run stat ip:" << ServerConfig::LocalIp << "|dbIndex:" << item._index << "|" << PropertyDbManager::getInstance()->getIpAndPort(item._index)
100
+ // << "|date:" << item._date << "|tflag:" << item._tflag << "|timecost(ms):" << (iEnd - iBegin) << "|iBegin:" << iBegin << "|iEnd:" << iEnd << endl;
101
101
102
102
if ((iEnd - iBegin)/1000 > g_app.getInserInterv () * 40 )
103
103
{
104
- FDLOG (" PropertyPool" ) << " propertypool ip:" << ServerConfig::LocalIp << " |ReapSSDProcThread::run timeout 8 minute." << endl;
104
+ // FDLOG("PropertyPool") << "propertypool ip:" << ServerConfig::LocalIp << "|ReapSSDProcThread::run timeout 8 minute." << endl;
105
105
string sMsg (" stat ip:" );
106
106
sMsg += ServerConfig::LocalIp;
107
107
sMsg += " ReapSSDProcThread::run write db:" ;
@@ -125,7 +125,7 @@ void ReapSSDProcThread::run()
125
125
catch (exception & e)
126
126
{
127
127
TLOGERROR (" ReapSSDProcThread::run exception:" << e.what () << endl);
128
- FDLOG (" PropertyPool" ) << " ReapSSDProcThread::run exception:" << e.what () << endl;
128
+ // FDLOG("PropertyPool") << "ReapSSDProcThread::run exception:" << e.what() << endl;
129
129
}
130
130
}
131
131
}
@@ -183,7 +183,7 @@ void PropertyReapThread::run()
183
183
int iLastIndex = -1 ;
184
184
185
185
TLOGDEBUG (" propertypool ip:" << ServerConfig::LocalIp << " |PropertyReapThread::run iInsertDataThread:" << iInsertDataNum << " |dbNumber:" << dbNumber << endl);
186
- FDLOG (" PropertyPool" ) << " propertypool ip:" << ServerConfig::LocalIp << " |PropertyReapThread::run iInsertDataThread:" << iInsertDataNum << " |dbNumber:" << dbNumber << endl;
186
+ // FDLOG("PropertyPool") << "propertypool ip:" << ServerConfig::LocalIp << "|PropertyReapThread::run iInsertDataThread:" << iInsertDataNum << "|dbNumber:" << dbNumber << endl;
187
187
188
188
while (!_terminate)
189
189
{
@@ -211,10 +211,10 @@ void PropertyReapThread::run()
211
211
int64_t tEnd = TNOWMS;
212
212
213
213
TLOGDEBUG (" propertypool ip:" << ServerConfig::LocalIp << " |Buffer Index:" << iBufferIndex << " |PropertyReapThread::run getDataFromBuffer timecost(ms):" << (tEnd - tBegin) << endl);
214
- FDLOG (" PropertyPool" ) << " propertypool ip:" << ServerConfig::LocalIp << " |Buffer Index:" << iBufferIndex << " |PropertyReapThread::run getDataFromBuffer timecost(ms):" << (tEnd - tBegin) << endl;
214
+ // FDLOG("PropertyPool") << "propertypool ip:" << ServerConfig::LocalIp << "|Buffer Index:" << iBufferIndex << "|PropertyReapThread::run getDataFromBuffer timecost(ms):" << (tEnd - tBegin) << endl;
215
215
216
216
TLOGDEBUG (" propertypool ip:" << ServerConfig::LocalIp << " |Buffer Index:" << iBufferIndex << " |PropertyReapThread::run insert begin _vAllStatMsg.size:" << vAllPropertyMsg.size () << " |record num:" << iTotalNum << endl);
217
- FDLOG (" PropertyPool" ) << " propertypool ip:" << ServerConfig::LocalIp << " |Buffer Index:" << iBufferIndex << " |PropertyReapThread::run insert begin _vAllStatMsg.size:" << vAllPropertyMsg.size () << " |record num:" << iTotalNum << endl;
217
+ // FDLOG("PropertyPool") << "propertypool ip:" << ServerConfig::LocalIp << "|Buffer Index:" << iBufferIndex << "|PropertyReapThread::run insert begin _vAllStatMsg.size:" << vAllPropertyMsg.size() << "|record num:" << iTotalNum << endl;
218
218
219
219
if (iTotalNum <= 0 )
220
220
{
@@ -284,7 +284,7 @@ void PropertyReapThread::run()
284
284
}
285
285
286
286
TLOGDEBUG (" propertypool ip:" << ServerConfig::LocalIp << " |Buffer Index:" << iBufferIndex << " |PropertyReapThread::run insert record num:" << iTotalNum << " |tast patch finished." << endl);
287
- FDLOG (" PropertyPool" ) << " propertypool ip:" << ServerConfig::LocalIp << " |Buffer Index:" << iBufferIndex << " |PropertyReapThread::run insert record num:" << iTotalNum << " |tast patch finished." << endl;
287
+ // FDLOG("PropertyPool") << "propertypool ip:" << ServerConfig::LocalIp << "|Buffer Index:" << iBufferIndex << "|PropertyReapThread::run insert record num:" << iTotalNum << "|tast patch finished." << endl;
288
288
}
289
289
290
290
}
@@ -384,7 +384,7 @@ void PropertyReapThread::getDataFromBuffer(int iIndex, vector<PropertyMsg*> &vAl
384
384
continue ;
385
385
}
386
386
387
- FDLOG (" PropertyPool" ) << " property ip:" << ServerConfig::LocalIp << " |Buffer Index:" << iIndex << " |PropertyReapThread::getData load hashmap k:" << k << endl;
387
+ // FDLOG("PropertyPool") << "property ip:" << ServerConfig::LocalIp << "|Buffer Index:" << iIndex << "|PropertyReapThread::getData load hashmap k:" << k << endl;
388
388
389
389
PropertyHashMap::lock_iterator it = pHashMap->beginSetTime ();
390
390
while ( it != pHashMap->end () )
@@ -428,12 +428,12 @@ void PropertyReapThread::getDataFromBuffer(int iIndex, vector<PropertyMsg*> &vAl
428
428
iTotalNum = iCount;
429
429
430
430
TLOGDEBUG (" PropertyReapThread::getDataFromBuffer Buffer Index:" << iIndex << " |get total size:" << iCount << endl);
431
- FDLOG (" PropertyPool" ) << " propertypool ip:" << ServerConfig::LocalIp << " |Buffer Index:" << iIndex << " |PropertyReapThread::getData get total size:" << iCount << " |end..." << endl;
431
+ // FDLOG("PropertyPool") << "propertypool ip:" << ServerConfig::LocalIp << "|Buffer Index:" << iIndex << "|PropertyReapThread::getData get total size:" << iCount << "|end..." << endl;
432
432
}
433
433
catch (exception & ex)
434
434
{
435
435
TLOGERROR (" PropertyReapThread::getDataFromBuffer exception:" << ex.what () << endl);
436
- FDLOG (" PropertyPool" ) << " propertypool ip:" << ServerConfig::LocalIp << " |Buffer Index:" << iIndex << " |PropertyReapThread::getData exception:" << ex.what () << endl;
436
+ // FDLOG("PropertyPool") << "propertypool ip:" << ServerConfig::LocalIp << "|Buffer Index:" << iIndex << "|PropertyReapThread::getData exception:" << ex.what() << endl;
437
437
438
438
string sMsg (" PropertyReapThread::getDataFromBuffer Buffer Index:" );
439
439
sMsg += TC_Common::tostr (iIndex);
0 commit comments