mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Adds option to disable logging of Apache handler in audit log
This commit is contained in:
committed by
Felipe Zimmerle
parent
f44852b4e0
commit
d1376c5525
@@ -1974,7 +1974,10 @@ void sec_audit_logger_native(modsec_rec *msr) {
|
||||
}
|
||||
|
||||
/* Apache-Handler */
|
||||
if (msr->r->handler != NULL) {
|
||||
#ifdef LOG_NO_HANDLER
|
||||
if (msr->txcfg->debuglog_level >= 9)
|
||||
#endif
|
||||
if (msr->r->handler != NULL) {
|
||||
text = apr_psprintf(msr->mp, "Apache-Handler: %s\n", msr->r->handler);
|
||||
sec_auditlog_write(msr, text, strlen(text));
|
||||
}
|
||||
|
Reference in New Issue
Block a user