From b8837bbfb29e5713f7dbd56c607d676d1bb34616 Mon Sep 17 00:00:00 2001 From: ivanr Date: Tue, 2 Feb 2010 12:45:28 +0000 Subject: [PATCH] Change the format string from m (already taken) to M. --- CHANGES | 2 +- apache2/mod_security2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 92a33fa7..17cfb62a 100644 --- a/CHANGES +++ b/CHANGES @@ -2,7 +2,7 @@ 1 Feb 2010 - trunk ------------------- - * Integrate with mod_log_config using the %{VARNAME}m format string. + * Integrate with mod_log_config using the %{VARNAME}M format string. (MODSEC-108) [Ivan Ristic] * Replaced the previous time-measuring mechanism with a new one, which diff --git a/apache2/mod_security2.c b/apache2/mod_security2.c index df61be02..8910b959 100644 --- a/apache2/mod_security2.c +++ b/apache2/mod_security2.c @@ -456,7 +456,7 @@ static int hook_pre_config(apr_pool_t *mp, apr_pool_t *mp_log, apr_pool_t *mp_te log_pfn_register = APR_RETRIEVE_OPTIONAL_FN(ap_register_log_handler); if (log_pfn_register) { - log_pfn_register(mp, "m", modsec_var_log_handler, 0); + log_pfn_register(mp, "M", modsec_var_log_handler, 0); } return OK;