From 62e5e5bdb5e7fee087c513b8efb30f9a42420897 Mon Sep 17 00:00:00 2001 From: wangjunbao Date: Tue, 22 Jun 2021 14:17:14 +0800 Subject: [PATCH 1/2] Modify the warning message when not enabling RDR --- mindspore/ccsrc/debug/rdr/recorder_manager.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mindspore/ccsrc/debug/rdr/recorder_manager.cc b/mindspore/ccsrc/debug/rdr/recorder_manager.cc index b562fb18e90..efaa3a86bcc 100644 --- a/mindspore/ccsrc/debug/rdr/recorder_manager.cc +++ b/mindspore/ccsrc/debug/rdr/recorder_manager.cc @@ -29,8 +29,7 @@ void RecorderManager::UpdateRdrEnable() { if (config_parser.HasRdrSetting()) { #ifdef __linux__ if (!rdr_enable_) { - MS_LOG(WARNING) << "Please set the 'enable' as true using 'rdr' setting in file '" << config_parser.ConfigPath() - << "' if you want to use RDR."; + MS_LOG(WARNING) << "Not enabling RDR."; } #else if (rdr_enable_) { From 2367337c2e56be5b082616d785fd85852ef946dd Mon Sep 17 00:00:00 2001 From: wangjunbao Date: Tue, 22 Jun 2021 16:01:49 +0800 Subject: [PATCH 2/2] Modify the warning message when not enabling RDR --- mindspore/ccsrc/debug/rdr/recorder_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/debug/rdr/recorder_manager.cc b/mindspore/ccsrc/debug/rdr/recorder_manager.cc index efaa3a86bcc..5da420de462 100644 --- a/mindspore/ccsrc/debug/rdr/recorder_manager.cc +++ b/mindspore/ccsrc/debug/rdr/recorder_manager.cc @@ -29,7 +29,7 @@ void RecorderManager::UpdateRdrEnable() { if (config_parser.HasRdrSetting()) { #ifdef __linux__ if (!rdr_enable_) { - MS_LOG(WARNING) << "Not enabling RDR."; + MS_LOG(WARNING) << "Not enabling RDR. You can enable RDR through configuration file or environment variables."; } #else if (rdr_enable_) {