log信息统一整改

Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
fangyunzhong
2022-11-23 10:16:48 +08:00
parent 81cc54b2fb
commit 6576a77829
22 changed files with 167 additions and 145 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ bool ResourceDirectory::ScanResourceLimitKeyDir(const string &resourceTypeDir, c
{
vector<KeyParam> keyParams;
if (!KeyParser::Parse(limitKey, keyParams)) {
cerr << "Error: " << resourceTypeDir << ",invalid limit key '" << limitKey << "'" << endl;
cerr << "Error: invalid limit key '" << limitKey << "'." << NEW_LINE_PATH << resourceTypeDir << endl;
return false;
}
@@ -84,7 +84,7 @@ bool ResourceDirectory::ScanResourceLimitKeyDir(const string &resourceTypeDir, c
array.append("'" + item.first + "' ");
}
array.append("]");
cerr << "Error: " << dirPath << " ,invalid directory name '";
cerr << "Error: '" << dirPath << "', invalid directory name '";
cerr << fileCluster << "', must in " << array << endl;
return false;
}