mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Fixed typos: LOG_NO_STOPWATCH instead of DLOG_NO_STOPWATCH $log_server_context instead of $log_server_context
This commit is contained in:
committed by
Felipe Zimmerle
parent
2ab08a625e
commit
89764f12b0
@@ -1165,7 +1165,7 @@ void sec_audit_logger_json(modsec_rec *msr) {
|
||||
|
||||
|
||||
/* Stopwatch2 */
|
||||
#ifdef DLOG_NO_STOPWATCH
|
||||
#ifdef LOG_NO_STOPWATCH
|
||||
if (msr->txcfg->debuglog_level >= 9)
|
||||
#endif
|
||||
format_performance_variables_json(msr, g);
|
||||
@@ -1998,7 +1998,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
|
||||
}
|
||||
|
||||
/* Stopwatch; left in for compatibility reasons */
|
||||
#ifdef DLOG_NO_STOPWATCH
|
||||
#ifdef LOG_NO_STOPWATCH
|
||||
if (msr->txcfg->debuglog_level >= 9) {
|
||||
#endif
|
||||
text = apr_psprintf(msr->mp, "Stopwatch: %" APR_TIME_T_FMT " %" APR_TIME_T_FMT " (- - -)\n",
|
||||
@@ -2013,7 +2013,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
|
||||
"; %s\n", msr->request_time, (now - msr->request_time), perf_all);
|
||||
sec_auditlog_write(msr, text, strlen(text));
|
||||
}
|
||||
#ifdef DLOG_NO_STOPWATCH
|
||||
#ifdef LOG_NO_STOPWATCH
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user