|
@@ -703,7 +703,6 @@ int ResourceWatcherFSM::ProcessFileDelete(LPCTSTR lpszPath, int& nDelSucCnt, int
|
|
|
|
|
|
if (delDays < saveBackDay) // 未达到需要清理的天数阈值,无需清理
|
|
|
{
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("Files 存留天数[%d], 删除阈值[%u],无需清理.", (int)delDays, saveBackDay);
|
|
|
return fileCnt;
|
|
|
}
|
|
|
}
|
|
@@ -761,7 +760,6 @@ int ResourceWatcherFSM::ProcessFileDelete(LPCTSTR lpszPath, int& nDelSucCnt, int
|
|
|
|
|
|
if (delDays < saveBackDay) // 未达到需要清理的天数阈值,无需清理
|
|
|
{
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("Dir[%s], 存留天数[%d], 删除阈值[%u],无需清理.", tempFilePath, (int)delDays, saveBackDay);
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
@@ -800,7 +798,6 @@ int ResourceWatcherFSM::ProcessFileDelete(LPCTSTR lpszPath, int& nDelSucCnt, int
|
|
|
|
|
|
if (delDays < saveBackDay) // 未达到需要清理的天数阈值,无需清理
|
|
|
{
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("存留天数[%d], 删除阈值[%u],无需清理.", (int)delDays, saveBackDay);
|
|
|
FindClose(hFind);
|
|
|
return fileCnt;
|
|
|
}
|
|
@@ -857,7 +854,6 @@ int ResourceWatcherFSM::ProcessFileDelete(LPCTSTR lpszPath, int& nDelSucCnt, int
|
|
|
int delDays = (lSystemTime - fileTime) / SECONDS_OF_DAY;
|
|
|
if (delDays < saveBackDay) // 未达到需要清理的天数阈值,无需清理
|
|
|
{
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("Dir[%s], 存留天数[%d], 删除阈值[%u],无需清理.", tempFilePath, (int)delDays, saveBackDay);
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
@@ -3220,7 +3216,6 @@ void ResourceWatcherFSM::CheckDiskFileSpace()
|
|
|
{
|
|
|
if (lastDiskUsed != 0 && ((int)(GetDiskUsedByte() / (1024 * 1024 * 1024)) - lastDiskUsed) < spaceIncrease) //增长值判定
|
|
|
{
|
|
|
- //DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("硬盘空间增长未超过阈值,无需扫描。");
|
|
|
if (spaceLock)
|
|
|
{
|
|
|
spaceLock = false; //释放锁
|