Cosmetics changes top of #1402

This commit is contained in:
Felipe Zimmerle
2017-05-02 17:13:46 -03:00
parent 7246998f09
commit 3e9e4b39cc
2 changed files with 3 additions and 3 deletions

View File

@@ -1993,7 +1993,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
/* Stopwatch; left in for compatibility reasons */
#ifdef DLOG_NO_STOPWATCH
if (msr->txcfg->debuglog_level >= 9) {
if (msr->txcfg->debuglog_level >= 9) {
#endif
text = apr_psprintf(msr->mp, "Stopwatch: %" APR_TIME_T_FMT " %" APR_TIME_T_FMT " (- - -)\n",
msr->request_time, (now - msr->request_time));
@@ -2008,7 +2008,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
sec_auditlog_write(msr, text, strlen(text));
}
#ifdef DLOG_NO_STOPWATCH
}
}
#endif
/* Our response body does not contain chunks */

View File

@@ -505,7 +505,7 @@ AC_ARG_ENABLE(dechunk-logging,
# Disable logging of stopwatches
AC_ARG_ENABLE(stopwatch-logging,
AS_HELP_STRING([--enable-stopwatch-logging],
[Enable logging of stopwatches in audit log when log level < 9. This is the default]),
[Enable logging of stopwatches even when log level is < 9. This is the default]),
[
if test "$enableval" != "no"; then
log_stopwatch=