Includes HTTP version and response code on auditlogs/F

This commit is contained in:
Felipe Zimmerle 2017-07-25 23:23:54 -03:00
parent 43cb8ed652
commit 1f1e8324b1
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -1434,6 +1434,7 @@ std::string Transaction::toOldAuditLogFormat(int parts,
std::vector<const collection::Variable *> l;
audit_log << "--" << trailer << "-" << "F--" << std::endl;
audit_log << "HTTP/" << m_httpVersion << " " << this->m_httpCodeReturned << std::endl;
m_variableResponseHeaders.resolve(&l);
for (auto h : l) {
size_t pos = strlen("RESPONSE_HEADERS:");