Browse Source

log optimize

pull/1215/head
liyihan2@huawei.com 4 years ago
parent
commit
68302fc123
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/analyzer/analyzer.cc

+ 1
- 1
ge/analyzer/analyzer.cc View File

@@ -221,7 +221,7 @@ ge::Status Analyzer::SaveAnalyzerDataToFile(uint64_t session_id, uint64_t graph_
try {
json_file_ << jsn.dump(kJsonDumpLevel) << std::endl;
} catch (nlohmann::detail::type_error &e) {
GELOGE(FAILED, "[Json.dump][GraphInfo]json.dump to file [%s] failed because [%s], session_id [%lu], graph_id [%lu].", json_file_name_.c_str(), e.what(), session_id, graph_id);
GELOGE(FAILED, "[Json.dump][GraphInfo]json.dump to file [%s] failed because [%s], session_id:%lu, graph_id:%lu.", json_file_name_.c_str(), e.what(), session_id, graph_id);
ret_failed = true;
}
json_file_.close();


Loading…
Cancel
Save