Browse code

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

Marian Horban authored on 2015/10/27 01:35:45
Showing 2 changed files
... ...
@@ -7,7 +7,7 @@ Listen %PUBLICPORT%
7 7
     WSGIApplicationGroup %{GLOBAL}
8 8
     WSGIPassAuthorization On
9 9
     <IfVersion >= 2.4>
10
-      ErrorLogFormat "%{cu}t %M"
10
+      ErrorLogFormat "%M"
11 11
     </IfVersion>
12 12
     ErrorLog /var/log/%APACHE_NAME%/nova-api.log
13 13
     %SSLENGINE%
... ...
@@ -7,7 +7,7 @@ Listen %PUBLICPORT%
7 7
     WSGIApplicationGroup %{GLOBAL}
8 8
     WSGIPassAuthorization On
9 9
     <IfVersion >= 2.4>
10
-      ErrorLogFormat "%{cu}t %M"
10
+      ErrorLogFormat "%M"
11 11
     </IfVersion>
12 12
     ErrorLog /var/log/%APACHE_NAME%/nova-ec2-api.log
13 13
     %SSLENGINE%