From aedd48c9c4929db13b33865b8acb023500b3e7c2 Mon Sep 17 00:00:00 2001 From: whyour Date: Fri, 14 Nov 2025 22:23:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/schedule/health.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/back/schedule/health.ts b/back/schedule/health.ts index 9dcad88f..f77a914b 100644 --- a/back/schedule/health.ts +++ b/back/schedule/health.ts @@ -17,14 +17,11 @@ const check = async ( return callback(null, { status: 1 }); } - const panelErrLog = await promiseExec( - `tail -n 300 ~/.pm2/logs/panel-error.log`, - ); - const scheduleErrLog = await promiseExec( - `tail -n 300 ~/.pm2/logs/schedule-error.log`, + const qinglongErrLog = await promiseExec( + `tail -n 300 ~/.pm2/logs/qinglong-error.log`, ); return callback( - new Error(`${scheduleErrLog || ''}\n${panelErrLog || ''}\n${res}`.trim()), + new Error(`${qinglongErrLog || ''}\n${res}`.trim()), ); default: