This commit is contained in:
Marc Stern 2017-04-10 12:01:17 +02:00 committed by Felipe Zimmerle
parent 9244cd9824
commit 99eb07d944
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -1889,7 +1889,7 @@ static apr_status_t msre_ruleset_process_phase_(msre_ruleset *ruleset, modsec_re
}
}
else if (rc < 0) {
msr_log(msr, 1, "Rule processing failed.");
msr_log(msr, 1, "Rule processing failed (id=%s, msg=%s).", rule->actionset->id, rule->actionset->msg);
if (msr->txcfg->reqintercept_oe == 1) {
@ -1920,7 +1920,7 @@ static apr_status_t msre_ruleset_process_phase_(msre_ruleset *ruleset, modsec_re
}
}
else {
msr_log(msr, 1, "Rule processing failed with unknown return code: %d.", rc);
msr_log(msr, 1, "Rule processing failed with unknown return code: %d (id=%s, msg=%s).", rc, rule->actionset->id, rule->actionset->msg);
apr_table_clear(msr->matched_vars);
return -1;
}