Skip to content

Commit

Permalink
Format of nova-api log files was corrected
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mhorban committed Oct 27, 2015
1 parent 0afcac2 commit 4abb31d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/apache-nova-api.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Listen %PUBLICPORT%
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
ErrorLogFormat "%M"
</IfVersion>
ErrorLog /var/log/%APACHE_NAME%/nova-api.log
%SSLENGINE%
Expand Down
2 changes: 1 addition & 1 deletion files/apache-nova-ec2-api.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Listen %PUBLICPORT%
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
ErrorLogFormat "%M"
</IfVersion>
ErrorLog /var/log/%APACHE_NAME%/nova-ec2-api.log
%SSLENGINE%
Expand Down

0 comments on commit 4abb31d

Please sign in to comment.