提交 b940894f 编写于 作者: 李寅

Merge branch 'fix_log_level' into 'master'

change error logs to warning ones in read opencl files

See merge request !1162
...@@ -106,7 +106,7 @@ int FileStorage::Load() { ...@@ -106,7 +106,7 @@ int FileStorage::Load() {
auto status = fs->NewReadOnlyMemoryRegionFromFile( auto status = fs->NewReadOnlyMemoryRegionFromFile(
file_path_.c_str(), &kv_data); file_path_.c_str(), &kv_data);
if (status != MaceStatus::MACE_SUCCESS) { if (status != MaceStatus::MACE_SUCCESS) {
LOG(ERROR) << "Failed to read kv store file: " << file_path_; LOG(WARNING) << "Failed to read kv store file: " << file_path_;
return -1; return -1;
} else { } else {
ParseKVData(static_cast<const unsigned char *>(kv_data->data()), ParseKVData(static_cast<const unsigned char *>(kv_data->data()),
......
...@@ -167,8 +167,8 @@ class Tuner { ...@@ -167,8 +167,8 @@ class Tuner {
auto status = fs->NewReadOnlyMemoryRegionFromFile( auto status = fs->NewReadOnlyMemoryRegionFromFile(
tuned_param_file_path_.c_str(), &param_data); tuned_param_file_path_.c_str(), &param_data);
if (status != MaceStatus::MACE_SUCCESS) { if (status != MaceStatus::MACE_SUCCESS) {
LOG(ERROR) << "Failed to read tuned param file: " LOG(WARNING) << "Failed to read tuned param file: "
<< tuned_param_file_path_; << tuned_param_file_path_;
return; return;
} else { } else {
ParseData(static_cast<const unsigned char *>(param_data->data()), ParseData(static_cast<const unsigned char *>(param_data->data()),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册