mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Fixed invalid logging
This commit is contained in:
parent
73a79af593
commit
d32c8f1ad8
@ -489,11 +489,7 @@ char *update_rule_target_ex(modsec_rec *msr, msre_ruleset *ruleset, msre_rule *r
|
|||||||
end:
|
end:
|
||||||
if (my_error_msg) {
|
if (my_error_msg) {
|
||||||
if (msr) msr_log(msr, 9, my_error_msg);
|
if (msr) msr_log(msr, 9, my_error_msg);
|
||||||
#if !defined(MSC_TEST)
|
else ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, my_error_msg);
|
||||||
else {
|
|
||||||
ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, " ModSecurity: Successfully appended variable");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
if (target_list != NULL) free(target_list);
|
if (target_list != NULL) free(target_list);
|
||||||
if (replace != NULL) free(replace);
|
if (replace != NULL) free(replace);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user