]> granicus.if.org Git - apache/commitdiff
Set the LogLevel of a newly initialized virtual hosts to UNSET. Otherwise
authorStefan Fritsch <sf@apache.org>
Tue, 19 Oct 2010 21:53:38 +0000 (21:53 +0000)
committerStefan Fritsch <sf@apache.org>
Tue, 19 Oct 2010 21:53:38 +0000 (21:53 +0000)
it will not be correctly merged in ap_fixup_virtual_hosts().

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

server/config.c

index 1b2772fef4dc0dc59f1a5ea0b244e2a1adcd4745..6508e94278ccb9fcc68b3012b6ca3c1b18d8c98d 100644 (file)
@@ -2059,7 +2059,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;