Adds support to https audit log output

This functionality was built for test only.
This commit is contained in:
Felipe Zimmerle
2016-04-02 14:44:46 -03:00
parent e5acc95de8
commit 8d052853a8
9 changed files with 165 additions and 2 deletions

View File

@@ -21,6 +21,7 @@
#include <fstream>
#include "audit_log/writer/https.h"
#include "audit_log/writer/parallel.h"
#include "audit_log/writer/serial.h"
#include "utils/regex.h"
@@ -184,6 +185,9 @@ bool AuditLog::init() {
if (m_type == SerialAuditLogType) {
m_writer = new audit_log::writer::Serial(this);
}
if (m_type == HttpsAuditLogType) {
m_writer = new audit_log::writer::Https(this);
}
m_writer->refCountIncrease();
if (m_writer == NULL || m_writer->init() == false) {