Specify log file name for Nova API
When only the directory is specified, separate log files are created for the Nova API / metadata services with a -wsgi postfix. This affects the 'programname' field in Fluentd which affects the processing of these logs. This is a regression. When the log file name is specified, the directory is not required. Closes-Bug: #1950185 Change-Id: I8fec8b787349f83c05d8af7f52fc58da7c3e9cc4
This commit is contained in:
parent
b9c1d10773
commit
76d4a054cf
@ -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
|
||||
|
@ -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>`__
|
Loading…
Reference in New Issue
Block a user