!18695 [Bug][MI]Optimize the prompt information when not enabling RDR

Merge pull request !18695 from wangjunbao/master
This commit is contained in:
i-robot 2021-06-23 01:49:58 +00:00 committed by Gitee
commit c2e03304ef
1 changed files with 1 additions and 2 deletions

View File

@ -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. You can enable RDR through configuration file or environment variables.";
}
#else
if (rdr_enable_) {