提交 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() {
auto status = fs->NewReadOnlyMemoryRegionFromFile(
file_path_.c_str(), &kv_data);
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;
} else {
ParseKVData(static_cast<const unsigned char *>(kv_data->data()),
......
......@@ -167,8 +167,8 @@ class Tuner {
auto status = fs->NewReadOnlyMemoryRegionFromFile(
tuned_param_file_path_.c_str(), &param_data);
if (status != MaceStatus::MACE_SUCCESS) {
LOG(ERROR) << "Failed to read tuned param file: "
<< tuned_param_file_path_;
LOG(WARNING) << "Failed to read tuned param file: "
<< tuned_param_file_path_;
return;
} else {
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.
先完成此消息的编辑!
想要评论请 注册