diff --git a/mindspore/core/mindrt/src/actor/actor.cc b/mindspore/core/mindrt/src/actor/actor.cc index bdb331a04d..6d38474322 100644 --- a/mindspore/core/mindrt/src/actor/actor.cc +++ b/mindspore/core/mindrt/src/actor/actor.cc @@ -133,7 +133,7 @@ int ActorBase::Send(const AID &to, std::string &&name, std::string &&strMsg, boo // register the message handle void ActorBase::Receive(const std::string &msgName, ActorFunction &&func) { if (actionFunctions.find(msgName) != actionFunctions.end()) { - MS_LOG(ERROR) << "ACTOR function's name conflicts, a=%s" << id.Name().c_str() << ",f=%s" << msgName.c_str(); + MS_LOG(ERROR) << "ACTOR function's name conflicts, a=" << id.Name().c_str() << ",f=" << msgName.c_str(); BUS_EXIT("function's name conflicts"); return; } diff --git a/mindspore/core/mindrt/src/actor/aid.cc b/mindspore/core/mindrt/src/actor/aid.cc index f3536beed9..48a9691a70 100644 --- a/mindspore/core/mindrt/src/actor/aid.cc +++ b/mindspore/core/mindrt/src/actor/aid.cc @@ -111,7 +111,7 @@ std::string AID::GetIp() const { } size_t index2 = url.rfind(':'); if ((index2 == std::string::npos) || (index2 < index1)) { - MS_LOG(INFO) << "wrong url:%s,u=" << url.c_str(); + MS_LOG(DEBUG) << "wrong url:" << url.c_str(); return url; } else { return url.substr(index1, index2 - index1);