Cosmetics: fix #1400 indentation and help message
This commit is contained in:
Родитель
70322304f2
Коммит
d6bd0badc5
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -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=
|
||||
|
|
Загрузка…
Ссылка в новой задаче