X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Ffreenet%2Fiindexrequester.h;h=8744dfd44a75c2e85331fcd486e4ee7f136abfeb;hp=aecc00a3fe24f3ad8801312745d151c645ed2b58;hb=bae54a5dae027ad0a6b0126ec9eeecd3bd2739eb;hpb=b4f4686250878cdf4fcb2986a2ea6546cba867d1 diff --git a/include/freenet/iindexrequester.h b/include/freenet/iindexrequester.h index aecc00a..8744dfd 100644 --- a/include/freenet/iindexrequester.h +++ b/include/freenet/iindexrequester.h @@ -71,15 +71,15 @@ void IIndexRequester::FCPConnected() // make sure variables have been initialized by the derived class if(m_maxrequests==-1) { - m_log->WriteLog(LogFile::LOGLEVEL_ERROR,"IIndexRequester::FCPConnected maxrequests not initialized correctly!"); + m_log->WriteLog(LogFile::LOGLEVEL_FATAL,"IIndexRequester::FCPConnected maxrequests not initialized correctly!"); } if(m_fcpuniquename=="") { - m_log->WriteLog(LogFile::LOGLEVEL_ERROR,"IIndexRequester::FCPConnected fcpuniquename not initialized correctly!"); + m_log->WriteLog(LogFile::LOGLEVEL_FATAL,"IIndexRequester::FCPConnected fcpuniquename not initialized correctly!"); } if(m_fcpuniquename.find("|")!=std::string::npos) { - m_log->WriteLog(LogFile::LOGLEVEL_ERROR,"IIndexRequester::FCPConnected fcpuniquename contains | character! This is not a valid character!"); + m_log->WriteLog(LogFile::LOGLEVEL_FATAL,"IIndexRequester::FCPConnected fcpuniquename contains | character! This is not a valid character!"); } m_lastreceived.SetToGMTime(); @@ -189,7 +189,7 @@ void IIndexRequester::Process() // if we haven't received any messages to this object in 10 minutes, clear the requests and repopulate id list if(m_ids.size()>0 && m_lastreceived<(now-(1.0/144.0))) { - m_log->WriteLog(LogFile::LOGLEVEL_ERROR,"IIndexRequester::Process() Object has not received any messages in 10 minutes. Restarting requests."); + m_log->WriteLog(LogFile::LOGLEVEL_ERROR,"IIndexRequester::Process "+m_fcpuniquename+" Object has not received any messages in 10 minutes. Restarting requests."); FCPConnected(); }