summaryrefslogtreecommitdiffstats
path: root/server/core.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-04-08 19:59:48 +0200
committerStefan Fritsch <sf@apache.org>2011-04-08 19:59:48 +0200
commit621c77a0fdd8bc99e28b85c5211208789f873ade (patch)
tree1bbb56fe48400516b05f7155b2b98d6de73139bd /server/core.c
parentmod_ssl, ab: Support OpenSSL compiled without SSLv2 support (diff)
downloadapache2-621c77a0fdd8bc99e28b85c5211208789f873ade.tar.xz
apache2-621c77a0fdd8bc99e28b85c5211208789f873ade.zip
core: Support module names with colons in loglevel configuration.
Submitted by: Torsten Förtsch <torsten foertsch gmx net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090369 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/core.c')
-rw-r--r--server/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/core.c b/server/core.c
index a521eac465..b2cdfe0e35 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);