From 7800216cd37a4c23276fce337523683de691ae41 Mon Sep 17 00:00:00 2001 From: "liyihan2@huawei.com" Date: Thu, 11 Mar 2021 11:22:42 +0800 Subject: [PATCH] client log optimize --- ge/client/ge_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/client/ge_api.cc b/ge/client/ge_api.cc index 56655947..2c9fe608 100644 --- a/ge/client/ge_api.cc +++ b/ge/client/ge_api.cc @@ -69,7 +69,7 @@ Status CheckOptionsValid(const std::map &options) { auto job_id_iter = options.find(OPTION_EXEC_JOB_ID); if (job_id_iter != options.end()) { if (job_id_iter->second.length() > kMaxStrLen) { - GELOGE(PARAM_INVALID, "[Check][Job_id]Before execution, check job_id failed,the job_id string length:%d > max string length:%d", kMaxStrLen, job_id_iter); + GELOGE(PARAM_INVALID, "[Check][Job_id]Before execution, check job_id failed,the job_id string length: %d > max string length: %d", job_id_iter->second.length(), kMaxStrLen); return FAILED; } }