diff --git a/dbms/src/Flash/Mpp/ExchangeReceiver.cpp b/dbms/src/Flash/Mpp/ExchangeReceiver.cpp index 7907422ad07..d22d978b1d7 100644 --- a/dbms/src/Flash/Mpp/ExchangeReceiver.cpp +++ b/dbms/src/Flash/Mpp/ExchangeReceiver.cpp @@ -452,7 +452,7 @@ void ExchangeReceiverBase::readLoop(const Request & req) meet_error = true; auto local_state = getState(); local_err_msg = "receiver's state is " + getReceiverStateStr(local_state) + ", exit from readLoop"; - LOG_FMT_WARNING(log, local_err_msg); + LOG_WARNING(log, local_err_msg); break; } } diff --git a/dbms/src/Flash/Mpp/MPPTunnel.cpp b/dbms/src/Flash/Mpp/MPPTunnel.cpp index 9e6228a6ffe..6c8fd220b01 100644 --- a/dbms/src/Flash/Mpp/MPPTunnel.cpp +++ b/dbms/src/Flash/Mpp/MPPTunnel.cpp @@ -190,7 +190,7 @@ void MPPTunnelBase::sendJob(bool need_lock) err_msg = "fatal error in sendJob()"; } if (!err_msg.empty()) - LOG_FMT_ERROR(log, err_msg); + LOG_ERROR(log, err_msg); consumerFinish(err_msg, need_lock); if (is_async) writer->writeDone(grpc::Status::OK);