mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 18:05:28 +03:00
Changes debuglogs schema to avoid unecessary str allocation
This commit is contained in:
@@ -30,9 +30,7 @@ namespace actions {
|
||||
|
||||
bool Log::evaluate(Rule *rule, Transaction *transaction,
|
||||
std::shared_ptr<RuleMessage> rm) {
|
||||
#ifndef NO_LOGS
|
||||
transaction->debug(9, "Saving transaction to logs");
|
||||
#endif
|
||||
ms_dbg_a(transaction, 9, "Saving transaction to logs");
|
||||
rm->m_saveMessage = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user