mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Changes debuglogs schema to avoid unecessary str allocation
This commit is contained in:
@@ -24,9 +24,8 @@ bool RuleScript::init(std::string *err) {
|
||||
|
||||
bool RuleScript::evaluate(Transaction *trans,
|
||||
std::shared_ptr<RuleMessage> ruleMessage) {
|
||||
#ifndef NO_LOGS
|
||||
trans->debug(4, " Executing script: " + m_name + ".");
|
||||
#endif
|
||||
ms_dbg_a(trans, 4, " Executing script: " + m_name + ".");
|
||||
|
||||
bool containsDisruptive = false;
|
||||
|
||||
if (ruleMessage == NULL) {
|
||||
|
Reference in New Issue
Block a user