mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Changes auditlog type to serial by default
This commit is contained in:
parent
bf281eb4df
commit
fff5a57656
@ -1 +1 @@
|
||||
Subproject commit 54e9a6ec017c687c8fad1f347a263a7b259f8525
|
||||
Subproject commit da027ab52f9cf14401dd92e34e6683d183bdb3b4
|
@ -204,17 +204,17 @@ bool AuditLog::setType(AuditLogType audit_type) {
|
||||
|
||||
|
||||
bool AuditLog::init(std::string *error) {
|
||||
if (m_type == SerialAuditLogType) {
|
||||
m_writer = new audit_log::writer::Serial(this);
|
||||
if (m_type == ParallelAuditLogType) {
|
||||
m_writer = new audit_log::writer::Parallel(this);
|
||||
} else if (m_type == HttpsAuditLogType) {
|
||||
m_writer = new audit_log::writer::Https(this);
|
||||
} else {
|
||||
/*
|
||||
* if (m_type == ParallelAuditLogType
|
||||
* if (m_type == SerialAuditLogType
|
||||
* || m_type == NotSetAuditLogType)
|
||||
*
|
||||
*/
|
||||
m_writer = new audit_log::writer::Parallel(this);
|
||||
m_writer = new audit_log::writer::Serial(this);
|
||||
}
|
||||
|
||||
if (m_status == OffAuditLogStatus || m_status == NotSetLogStatus) {
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit a9c58a25771493ac2abadffbfd5dce1213d5db93
|
||||
Subproject commit add8f637703ac2c069f1b650164b70cd35675228
|
Loading…
x
Reference in New Issue
Block a user