Replaces getKeyWithCollection with getName on VariableValue

This commit is contained in:
Felipe Zimmerle
2020-08-25 12:52:04 -03:00
committed by Felipe Zimmerle
parent ae74d37f96
commit 1eedf3e898
7 changed files with 21 additions and 20 deletions

View File

@@ -1563,7 +1563,7 @@ std::string Transaction::toOldAuditLogFormat(int parts,
m_variableRequestHeaders.resolve(&l);
for (const auto &h : l) {
size_t pos = strlen("REQUEST_HEADERS:");
audit_log << h->getKeyWithCollection().c_str() + pos << ": ";
audit_log << h->getName().c_str() + pos << ": ";
audit_log << h->getValue().c_str() << std::endl;
}
audit_log << std::endl;