From 7a0f8698a130e0fb9c45453ab83ccee1447f9620 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Wed, 4 Sep 2019 13:16:12 +0200 Subject: [PATCH] devstack: save iPXE httpd logs Change-Id: I3ad5ee77a2e2e8613316b1e935256d5ba0394420 --- devstack/files/apache-ipxe-ironic.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devstack/files/apache-ipxe-ironic.template b/devstack/files/apache-ipxe-ironic.template index 88641946f6..ba182e5828 100644 --- a/devstack/files/apache-ipxe-ironic.template +++ b/devstack/files/apache-ipxe-ironic.template @@ -9,4 +9,8 @@ Listen %PUBLICPORT% Allow from all Require all granted + ErrorLog /var/log/apache2/ipxe_error.log + ErrorLogFormat "%{cu}t [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] [frontend\ %A] %M% ,\ referer\ %{Referer}i" + LogLevel info + CustomLog /var/log/apache2/ipxe_access.log "%{%Y-%m-%d}t %{%T}t.%{msec_frac}t [%l] %a \"%r\" %>s %b"