Adds section "H" to serial audit log

This commit is contained in:
Felipe Zimmerle
2016-12-16 00:06:48 -03:00
parent 2d29740ca4
commit 317808fe54
3 changed files with 26 additions and 5 deletions

View File

@@ -1436,6 +1436,9 @@ std::string Transaction::toOldAuditLogFormat(int parts,
}
if (parts & audit_log::AuditLog::HAuditLogPart) {
audit_log << "--" << trailer << "-" << "H--" << std::endl;
for (auto a : m_rulesMessages) {
audit_log << a.noClientErrorLog(this) << std::endl;
}
audit_log << std::endl;
/** TODO: write audit_log H part. */
}