mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
fixed compilation error with disable_debug_log flag
This commit is contained in:
committed by
Felipe Zimmerle
parent
81e1cdced3
commit
e9f3312ea9
@@ -274,7 +274,9 @@ bool AuditLog::saveIfRelevant(Transaction *transaction) {
|
||||
bool AuditLog::saveIfRelevant(Transaction *transaction, int parts) {
|
||||
bool saveAnyway = false;
|
||||
if (m_status == OffAuditLogStatus || m_status == NotSetLogStatus) {
|
||||
#ifndef NO_LOGS
|
||||
transaction->debug(5, "Audit log engine was not set.");
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user