diff --git a/apache2/msc_logging.c b/apache2/msc_logging.c index 6b7ab27b..c2274c7f 100644 --- a/apache2/msc_logging.c +++ b/apache2/msc_logging.c @@ -1278,7 +1278,7 @@ void sec_audit_logger_json(modsec_rec *msr) { yajl_gen_map_close(g); // sanitized args map is finished } #ifdef LOG_NO_SERVER_CONTEXT - } + } #endif /* Web application info. */ @@ -2100,10 +2100,10 @@ void sec_audit_logger_native(modsec_rec *msr) { } } #ifdef LOG_NO_SERVER_CONTEXT - } + } #endif - /* Web application info. */ + /* Web application info. */ if ( ((msr->txcfg->webappid != NULL)&&(strcmp(msr->txcfg->webappid, "default") != 0)) || (msr->sessionid != NULL) || (msr->userid != NULL)) { diff --git a/configure.ac b/configure.ac index 88d63565..7025f460 100644 --- a/configure.ac +++ b/configure.ac @@ -520,7 +520,7 @@ AC_ARG_ENABLE(stopwatch-logging, # Disable logging of server context AC_ARG_ENABLE(server-context-logging, AS_HELP_STRING([--enable-server-context-logging], - [Enable logging of server info (log producer, sanitized objects, ...) in audit log when log level < 9. This is the default]), + [Enable logging of server info (log producer, sanitized objects, ...) in audit log even when log level < 9. This is the default]), [ if test "$enableval" != "no"; then log_server_context=