mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Refactoring external resources download warn messages
Holding the message to be displayed when Apache is ready to write on the error_log instead of the default output. Regression tests were added.
This commit is contained in:
@@ -268,7 +268,7 @@ static int msre_op_ipmatchFromFile_execute(modsec_rec *msr, msre_rule *rule,
|
||||
|
||||
if (rtree == NULL)
|
||||
{
|
||||
if (msr->txcfg->debuglog_level >= 4)
|
||||
if (msr->txcfg->debuglog_level >= 6)
|
||||
{
|
||||
msr_log(msr, 1, "ipMatchFromFile: tree value is null.");
|
||||
}
|
||||
@@ -1394,7 +1394,7 @@ static int msre_op_pm_execute(modsec_rec *msr, msre_rule *rule, msre_var *var, c
|
||||
|
||||
if (rule->op_param_data == NULL)
|
||||
{
|
||||
if (msr->txcfg->debuglog_level >= 4)
|
||||
if (msr->txcfg->debuglog_level >= 6)
|
||||
{
|
||||
msr_log(msr, 1, "ACMPTree is null.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user