mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 09:55:28 +03:00
Changes debuglogs schema to avoid unecessary str allocation
This commit is contained in:
@@ -67,10 +67,8 @@ bool InitCol::evaluate(Rule *rule, Transaction *t) {
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifndef NO_LOGS
|
||||
t->debug(5, "Collection `" + m_collection_key + "' initialized with " \
|
||||
ms_dbg_a(t, 5, "Collection `" + m_collection_key + "' initialized with " \
|
||||
"value: " + collectionName);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user