Skip to content

Commit 10de0e6

Browse files
author
Stefan Fritsch
committed
Set the LogLevel of a newly initialized virtual hosts to UNSET. Otherwise
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
1 parent 7117c68 commit 10de0e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2059,7 +2059,7 @@ AP_CORE_DECLARE(const char *) ap_init_virtual_host(apr_pool_t *p,
20592059
s->keep_alive = -1;
20602060
s->keep_alive_max = -1;
20612061
s->error_log = main_server->error_log;
2062-
s->log.level = main_server->log.level;
2062+
s->log.level = APLOG_UNSET;
20632063
s->log.module_levels = NULL;
20642064
/* useful default, otherwise we get a port of 0 on redirects */
20652065
s->port = main_server->port;

0 commit comments

Comments
 (0)