Merge "Fix Cinder log parsing"
This commit is contained in:
commit
9194a3e99b
@ -25,7 +25,7 @@ LogLevel info
|
||||
<IfVersion >= 2.4>
|
||||
ErrorLogFormat "%{cu}t %M"
|
||||
</IfVersion>
|
||||
ErrorLog /var/log/kolla/cinder/cinder-api.log
|
||||
ErrorLog /var/log/kolla/cinder/cinder-api-error.log
|
||||
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
|
||||
CustomLog /var/log/kolla/cinder/cinder-api-access.log logformat
|
||||
{% if cinder_enable_tls_backend | bool %}
|
||||
|
@ -2,6 +2,9 @@
|
||||
debug = {{ cinder_logging_debug }}
|
||||
|
||||
log_dir = /var/log/kolla/cinder
|
||||
{% if service_name == "cinder-api" %}
|
||||
log_file = cinder-api.log
|
||||
{% endif %}
|
||||
use_forwarded_for = true
|
||||
|
||||
# Set use_stderr to False or the logs will also be sent to stderr
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes some configuration issues around Cinder logging. `LP#1916752
|
||||
<https://bugs.launchpad.net/kolla-ansible/+bug/1916752>`__
|
Loading…
x
Reference in New Issue
Block a user