mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24: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 */
|
/* Stopwatch2 */
|
||||||
#ifdef DLOG_NO_STOPWATCH
|
#ifdef LOG_NO_STOPWATCH
|
||||||
if (msr->txcfg->debuglog_level >= 9)
|
if (msr->txcfg->debuglog_level >= 9)
|
||||||
#endif
|
#endif
|
||||||
format_performance_variables_json(msr, g);
|
format_performance_variables_json(msr, g);
|
||||||
@@ -1998,7 +1998,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Stopwatch; left in for compatibility reasons */
|
/* Stopwatch; left in for compatibility reasons */
|
||||||
#ifdef DLOG_NO_STOPWATCH
|
#ifdef LOG_NO_STOPWATCH
|
||||||
if (msr->txcfg->debuglog_level >= 9) {
|
if (msr->txcfg->debuglog_level >= 9) {
|
||||||
#endif
|
#endif
|
||||||
text = apr_psprintf(msr->mp, "Stopwatch: %" APR_TIME_T_FMT " %" APR_TIME_T_FMT " (- - -)\n",
|
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);
|
"; %s\n", msr->request_time, (now - msr->request_time), perf_all);
|
||||||
sec_auditlog_write(msr, text, strlen(text));
|
sec_auditlog_write(msr, text, strlen(text));
|
||||||
}
|
}
|
||||||
#ifdef DLOG_NO_STOPWATCH
|
#ifdef LOG_NO_STOPWATCH
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -812,7 +812,7 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MODSEC_EXTRA_CFLAGS="$pcre_study $pcre_match_limit $pcre_match_limit_recursion $pcre_jit $request_early $htaccess_config $lua_cache $debug_conf $debug_cache $debug_acmp $debug_mem $perf_meas $modsec_api $cpu_type $unique_id $log_filename $log_server $log_collection_delete_problem $log_dechunk $log_stopwatch $log_handler $log_server_contex $collection_global_lock"
|
MODSEC_EXTRA_CFLAGS="$pcre_study $pcre_match_limit $pcre_match_limit_recursion $pcre_jit $request_early $htaccess_config $lua_cache $debug_conf $debug_cache $debug_acmp $debug_mem $perf_meas $modsec_api $cpu_type $unique_id $log_filename $log_server $log_collection_delete_problem $log_dechunk $log_stopwatch $log_handler $log_server_context $collection_global_lock"
|
||||||
|
|
||||||
APXS_WRAPPER=build/apxs-wrapper
|
APXS_WRAPPER=build/apxs-wrapper
|
||||||
APXS_EXTRA_CFLAGS=""
|
APXS_EXTRA_CFLAGS=""
|
||||||
|
Reference in New Issue
Block a user