summaryrefslogtreecommitdiffstats
path: root/server/log.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-11-09 02:36:19 +0100
committerStefan Fritsch <sf@apache.org>2011-11-09 02:36:19 +0100
commit4a69a843de602db563fdec067327c98768321ad4 (patch)
tree5bf91519ff343817c6f0e5dbba60172661521e4d /server/log.c
parentrebuild xdoc (diff)
downloadapache2-4a69a843de602db563fdec067327c98768321ad4.tar.xz
apache2-4a69a843de602db563fdec067327c98768321ad4.zip
Fix per-request / per-conn logging, probably broken by r1041140
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199591 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/log.c')
-rw-r--r--server/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/log.c b/server/log.c
index dc3f700575..9fe76047be 100644
--- a/server/log.c
+++ b/server/log.c
@@ -1033,7 +1033,7 @@ static int do_errorlog_format(apr_array_header_t *fmt, ap_errorlog_info *info,
else if (skipping) {
continue;
}
- else if ((int)item->min_loglevel > info->level) {
+ else if (info->level != -1 && (int)item->min_loglevel > info->level) {
len = field_start;
skipping = 1;
}