From: Stefan Fritsch Date: Fri, 8 Apr 2011 17:59:48 +0000 (+0000) Subject: core: Support module names with colons in loglevel configuration. X-Git-Tag: 2.3.12~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=621c77a0fdd8bc99e28b85c5211208789f873ade;p=thirdparty%2Fapache%2Fhttpd.git core: Support module names with colons in loglevel configuration. Submitted by: Torsten Förtsch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090369 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 33f4a0a9fac..534e1029864 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.3.12 + *) core: Support module names with colons in loglevel configuration. + [Torsten Förtsch ] + *) mod_ssl, ab: Support OpenSSL compiled without SSLv2 support. [Stefan Fritsch] diff --git a/server/core.c b/server/core.c index a521eac4650..b2cdfe0e352 100644 --- a/server/core.c +++ b/server/core.c @@ -2842,7 +2842,7 @@ static const char *set_loglevel(cmd_parms *cmd, void *config_, const char *arg_) if (arg == NULL) return "LogLevel requires level keyword or module loglevel specifier"; - level_str = ap_strchr(arg, ':'); + level_str = ap_strrchr(arg, ':'); if (level_str == NULL) { err = ap_parse_log_level(arg, &log->level);