Revert part of the noauditlog fix in changelog:878. See #451.

This commit is contained in:
brectanus
2008-01-28 22:10:12 +00:00
parent 751ce0684d
commit ed581b56f4

View File

@@ -1585,11 +1585,8 @@ static void msre_perform_disruptive_actions(modsec_rec *msr, msre_rule *rule,
}
}
/* If "noauditlog" used do not mark the transaction for audit logging. */
if (actionset->auditlog == 0) {
msr->is_relevant = 0;
}
else {
/* If "noauditlog" used do not mark the transaction relevant. */
if (actionset->auditlog != 0) {
msr->is_relevant++;
}