去除多余的日志输出

This commit is contained in:
wong
2025-12-23 09:52:08 +08:00
parent cc91552c36
commit 5e198d1021
12 changed files with 26 additions and 73 deletions

View File

@@ -22,7 +22,7 @@ class ContentCollectJob
// 如果任务执行成功后删除任务
if ($this->processContentCollect($data, $job->attempts())) {
$job->delete();
Log::info('内容采集任务执行成功内容库ID' . $data['libraryId']);
// 去除成功日志,减少日志空间消耗
} else {
if ($job->attempts() > 3) {
// 超过重试次数,删除任务