Merge "Specify log file name for Nova API"

This commit is contained in:
Zuul 2021-11-23 13:09:29 +00:00 committed by Gerrit Code Review
commit e80b877d26
2 changed files with 11 additions and 1 deletions

View File

@ -2,9 +2,12 @@
[DEFAULT]
debug = {{ nova_logging_debug }}
log_dir = /var/log/kolla/nova
{% if service_name == "nova-super-conductor" %}
log_file = /var/log/kolla/nova/nova-super-conductor.log
{% elif service_name == "nova-api" %}
log_file = /var/log/kolla/nova/nova-api.log
{% else %}
log_dir = /var/log/kolla/nova
{% endif %}
state_path = /var/lib/nova

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fixes an issue where the Nova API logs were written to
files ending with `-wsgi.log` which affected the processing of
these logs in the Fluentd pipeline.
`LP#1950185 <https://bugs.launchpad.net/kolla-ansible/+bug/1950185>`__