From 3e9e4b39cc7385db2ac98700c0a73697a3b36d55 Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Tue, 2 May 2017 17:13:46 -0300 Subject: [PATCH] Cosmetics changes top of #1402 --- apache2/msc_logging.c | 4 ++-- configure.ac | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apache2/msc_logging.c b/apache2/msc_logging.c index d90bc59a..81c85c3c 100644 --- a/apache2/msc_logging.c +++ b/apache2/msc_logging.c @@ -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 */ diff --git a/configure.ac b/configure.ac index abb06501..4e7ffa5d 100644 --- a/configure.ac +++ b/configure.ac @@ -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=