summaryrefslogtreecommitdiff
path: root/libperfmgr
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2018-11-05 10:18:59 -0800
committerWei Wang <wvw@google.com>2018-11-05 10:19:40 -0800
commitf0ccb68601b89fcfd248267f15c99ef12bc3b5c0 (patch)
tree8f58aa866e4ddaa58e9b1dcbf7604bdecbd52c31 /libperfmgr
parent0dbba9a1633dce5219e24fc427a03f48f1f0371e (diff)
downloadextras-f0ccb68601b89fcfd248267f15c99ef12bc3b5c0.tar.gz
Fix logging output
Test: Build Change-Id: Idcb86b511412137e4ef14cae9c17aa36fd2dbbc8
Diffstat (limited to 'libperfmgr')
-rw-r--r--libperfmgr/HintManager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libperfmgr/HintManager.cc b/libperfmgr/HintManager.cc
index ca404349..fb9a8b55 100644
--- a/libperfmgr/HintManager.cc
+++ b/libperfmgr/HintManager.cc
@@ -308,7 +308,7 @@ std::map<std::string, std::vector<NodeAction>> HintManager::ParseActions(
if (nodes_index.find(node_name) == nodes_index.end()) {
LOG(ERROR) << "Failed to find "
<< "Action[" << i
- << "]'s Node from Nodes section: " << node_name;
+ << "]'s Node from Nodes section: [" << node_name << "]";
actions_parsed.clear();
return actions_parsed;
}
@@ -321,7 +321,7 @@ std::map<std::string, std::vector<NodeAction>> HintManager::ParseActions(
if (!nodes[node_index]->GetValueIndex(value_name, &value_index)) {
LOG(ERROR) << "Failed to read Action[" << i << "]'s Value";
LOG(ERROR) << "Action[" << i << "]'s Value " << value_name
- << " is not defined in Node[" << node_name;
+ << " is not defined in Node[" << node_name << "]";
actions_parsed.clear();
return actions_parsed;
}