You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2011/04/08 19:59:48 UTC

svn commit: r1090369 - in /httpd/httpd/trunk: CHANGES server/core.c

Author: sf
Date: Fri Apr  8 17:59:48 2011
New Revision: 1090369

URL: http://svn.apache.org/viewvc?rev=1090369&view=rev
Log:
core: Support module names with colons in loglevel configuration.

Submitted by: Torsten Förtsch <torsten foertsch gmx net>

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/server/core.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1090369&r1=1090368&r2=1090369&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Fri Apr  8 17:59:48 2011
@@ -2,6 +2,9 @@
 
 Changes with Apache 2.3.12
 
+  *) core: Support module names with colons in loglevel configuration.
+     [Torsten Förtsch <torsten foertsch gmx net>]
+
   *) mod_ssl, ab: Support OpenSSL compiled without SSLv2 support.
      [Stefan Fritsch]
 

Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1090369&r1=1090368&r2=1090369&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Fri Apr  8 17:59:48 2011
@@ -2842,7 +2842,7 @@ static const char *set_loglevel(cmd_parm
     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);