]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core: Use the main ErrorLogFormat for ap_log_perror() and while loading vhosts.
authorYann Ylavic <ylavic@apache.org>
Tue, 14 Mar 2023 14:37:00 +0000 (14:37 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 14 Mar 2023 14:37:00 +0000 (14:37 +0000)
commitfffea3eb021ff0445ffedab12b5fceeb319a53cc
tree0d0b1caec8f21dc5f6e80efcba74cc56a5732ce7
parent8f30882b0d5943eae6013f92650652aad4cd8add
core: Use the main ErrorLogFormat for ap_log_perror() and while loading vhosts.

* server/core.c(create_core_server_config):
  Init sconf->error_log_format early so that it applies while the vhost
  is loading.

* server/log.c(log_error_core):
  Get the core_server_config from the main server if no server/config is
  provided.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908388 13f79535-47bb-0310-9956-ffa450edef68
server/core.c
server/log.c