From 4abb31d9d86bee139a0bc3e9f7dfc5041e8b875f Mon Sep 17 00:00:00 2001 From: Marian Horban Date: Mon, 26 Oct 2015 12:35:45 -0400 Subject: [PATCH] Format of nova-api log files was corrected When nova-api and nova-ec2-api services are started by Apache (it can be done with devstack config option NOVA_USE_MOD_WSGI=True) log files contained duplication of timestamp value. Change-Id: I5439ea8f89ca3073600456f67220e9d3f5257d97 Closes-Bug: #1510517 --- files/apache-nova-api.template | 2 +- files/apache-nova-ec2-api.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/apache-nova-api.template b/files/apache-nova-api.template index 49081528ff..bcf406edf3 100644 --- a/files/apache-nova-api.template +++ b/files/apache-nova-api.template @@ -7,7 +7,7 @@ Listen %PUBLICPORT% WSGIApplicationGroup %{GLOBAL} WSGIPassAuthorization On = 2.4> - ErrorLogFormat "%{cu}t %M" + ErrorLogFormat "%M" ErrorLog /var/log/%APACHE_NAME%/nova-api.log %SSLENGINE% diff --git a/files/apache-nova-ec2-api.template b/files/apache-nova-ec2-api.template index 235d958d1a..a9be15b73a 100644 --- a/files/apache-nova-ec2-api.template +++ b/files/apache-nova-ec2-api.template @@ -7,7 +7,7 @@ Listen %PUBLICPORT% WSGIApplicationGroup %{GLOBAL} WSGIPassAuthorization On = 2.4> - ErrorLogFormat "%{cu}t %M" + ErrorLogFormat "%M" ErrorLog /var/log/%APACHE_NAME%/nova-ec2-api.log %SSLENGINE%