File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1993,7 +1993,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
1993
1993
1994
1994
/* Stopwatch; left in for compatibility reasons */
1995
1995
#ifdef DLOG_NO_STOPWATCH
1996
- if (msr -> txcfg -> debuglog_level >= 9 ) {
1996
+ if (msr -> txcfg -> debuglog_level >= 9 ) {
1997
1997
#endif
1998
1998
text = apr_psprintf (msr -> mp , "Stopwatch: %" APR_TIME_T_FMT " %" APR_TIME_T_FMT " (- - -)\n" ,
1999
1999
msr -> request_time , (now - msr -> request_time ));
@@ -2008,7 +2008,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
2008
2008
sec_auditlog_write (msr , text , strlen (text ));
2009
2009
}
2010
2010
#ifdef DLOG_NO_STOPWATCH
2011
- }
2011
+ }
2012
2012
#endif
2013
2013
2014
2014
/* Our response body does not contain chunks */
Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ AC_ARG_ENABLE(dechunk-logging,
505
505
# Disable logging of stopwatches
506
506
AC_ARG_ENABLE ( stopwatch-logging ,
507
507
AS_HELP_STRING ( [ --enable-stopwatch-logging] ,
508
- [ Enable logging of stopwatches in audit log when log level < 9. This is the default] ) ,
508
+ [ Enable logging of stopwatches even when log level is < 9. This is the default] ) ,
509
509
[
510
510
if test "$enableval" != "no"; then
511
511
log_stopwatch=
You can’t perform that action at this time.
0 commit comments