From 3a3f9316a31ef8183fb1b27df7d785057ce26666 Mon Sep 17 00:00:00 2001 From: "liyihan2@huawei.com" Date: Thu, 11 Mar 2021 16:05:12 +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 b91d371c..ef270ed5 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: %u > max string length: %d", job_id_iter->second.length(), kMaxStrLen); + GELOGE(PARAM_INVALID, "[Check][Job_id]Before execution, check job_id failed,the job_id string length > max string length: %d", kMaxStrLen); return FAILED; } }