]> granicus.if.org Git - apache/commitdiff
Revert r1672014 - doesn't work as advertised (would break configs
authorKaspar Brand <kbrand@apache.org>
Wed, 15 Apr 2015 15:53:00 +0000 (15:53 +0000)
committerKaspar Brand <kbrand@apache.org>
Wed, 15 Apr 2015 15:53:00 +0000 (15:53 +0000)
where the per-vhost log level is different from the global level)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673838 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
server/config.c

diff --git a/CHANGES b/CHANGES
index 08ea8def8e43beecc79f999addf51dea183ca95b..fc3913aef1aaf864d18a137ca264f78b3869ce19 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -9,9 +9,6 @@ Changes with Apache 2.5.0
      will override other parameters given in the same directive. This could be
      a missing + or - prefix.  PR 52820 [Christophe Jaillet]
 
-  *) core: Make sure to also print VirtualHost log messages of level
-     "warn" or higher at configuration parsing time. [Kaspar Brand]
-
   *) mod_logio: Add LogIOTrackTTFB and %^FB logformat to log the time 
      taken to start writing response headers. [Eric Covener]
 
index 00f982b6303f9366bc6cef0df289981084c64555..aea1ff1dbd3da8e0230221ee440362b171101f19 100644 (file)
@@ -2194,7 +2194,7 @@ AP_CORE_DECLARE(const char *) ap_init_virtual_host(apr_pool_t *p,
     s->keep_alive = -1;
     s->keep_alive_max = -1;
     s->error_log = main_server->error_log;
-    s->log.level = main_server->log.level;
+    s->log.level = APLOG_UNSET;
     s->log.module_levels = NULL;
     /* useful default, otherwise we get a port of 0 on redirects */
     s->port = main_server->port;
@@ -2286,7 +2286,6 @@ AP_DECLARE(void) ap_fixup_virtual_hosts(apr_pool_t *p, server_rec *main_server)
         if (virt->keep_alive_max == -1)
             virt->keep_alive_max = main_server->keep_alive_max;
 
-        virt->log.level = APLOG_UNSET;
         ap_merge_log_config(&main_server->log, &virt->log);
 
         dconf = ap_get_core_module_config(virt->lookup_defaults);