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:
Felipe Zimmerle
2014-11-27 13:11:04 -08:00
parent d4a055e78e
commit ce4cf24f6e
11 changed files with 204 additions and 49 deletions

View File

@@ -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.");
}