mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
Makes auditlog more verbose on debug logs
This commit is contained in:
@@ -274,6 +274,7 @@ bool AuditLog::saveIfRelevant(Transaction *transaction) {
|
|||||||
bool AuditLog::saveIfRelevant(Transaction *transaction, int parts) {
|
bool AuditLog::saveIfRelevant(Transaction *transaction, int parts) {
|
||||||
bool saveAnyway = false;
|
bool saveAnyway = false;
|
||||||
if (m_status == OffAuditLogStatus || m_status == NotSetLogStatus) {
|
if (m_status == OffAuditLogStatus || m_status == NotSetLogStatus) {
|
||||||
|
transaction->debug(5, "Audit log engine was not set.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user