From a21aed7084c75c1b9dc35594acf3fb8ca14dd8b7 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Tue, 2 Jul 2024 16:23:55 +0800 Subject: [PATCH] fix:[TS-4921]refactor reporting logic for slow log --- source/client/src/clientMonitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/client/src/clientMonitor.c b/source/client/src/clientMonitor.c index f9a9b12bea..2e2036479e 100644 --- a/source/client/src/clientMonitor.c +++ b/source/client/src/clientMonitor.c @@ -498,7 +498,7 @@ static void monitorSendSlowLogAtRunning(int64_t clusterId){ if(data != NULL){ sendSlowLog(clusterId, data, pClient->pFile, pClient->offset, SLOW_LOG_READ_RUNNING, NULL, pInst->pTransporter, &ep); } - uDebug("[monitor] monitorReadSendSlowLog send slow log:%s", data); + uDebug("[monitor] monitorSendSlowLogAtRunning send slow log:%s", data); taosMemoryFree(data); } } @@ -530,7 +530,7 @@ static bool monitorSendSlowLogAtQuit(int64_t clusterId) { if(data != NULL){ sendSlowLog(clusterId, data, pClient->pFile, pClient->offset, SLOW_LOG_READ_QUIT, NULL, pInst->pTransporter, &ep); } - uDebug("[monitor] monitorReadSendSlowLog send slow log:%s", data); + uDebug("[monitor] monitorSendSlowLogAtQuit send slow log:%s", data); taosMemoryFree(data); } return false;