diff --git a/mindspore/ccsrc/debug/env_config_parser.cc b/mindspore/ccsrc/debug/env_config_parser.cc index f4c50c6816..191d1907af 100644 --- a/mindspore/ccsrc/debug/env_config_parser.cc +++ b/mindspore/ccsrc/debug/env_config_parser.cc @@ -66,7 +66,7 @@ void EnvConfigParser::Parse() { MS_EXCEPTION_IF_NULL(context); auto config_file = context->get_param(MS_CTX_ENV_CONFIG_PATH); if (config_file.empty()) { - MS_LOG(INFO) << "Get env config file failed. Please check the 'env_config_path' set in context."; + MS_LOG(INFO) << "The 'env_config_path' in 'mindspore.context.set_context(env_config_path={path})' is empty."; return; } config_file_ = config_file; diff --git a/mindspore/ccsrc/debug/rdr/recorder_manager.cc b/mindspore/ccsrc/debug/rdr/recorder_manager.cc index 3f04fcf1aa..cc53c04048 100644 --- a/mindspore/ccsrc/debug/rdr/recorder_manager.cc +++ b/mindspore/ccsrc/debug/rdr/recorder_manager.cc @@ -48,7 +48,7 @@ bool RecorderManager::RecordObject(const BaseRecorderPtr &recorder) { } if (recorder == nullptr) { - MS_LOG(ERROR) << "register recorder module with nullptr."; + MS_LOG(ERROR) << "Register recorder module with nullptr."; return false; } std::string module = recorder->GetModule();