Merge "Fix Horizon WSGI application log parsing"

This commit is contained in:
Zuul 2023-11-28 18:53:58 +00:00 committed by Gerrit Code Review
commit 65c2196975
2 changed files with 10 additions and 1 deletions

View File

@ -15,7 +15,8 @@ TraceEnable off
<VirtualHost {{ api_interface_address }}:{{ horizon_listen_port }}>
LogLevel warn
ErrorLog /var/log/kolla/horizon/horizon.log
ErrorLogFormat "%{cu}t %M"
ErrorLog /var/log/kolla/horizon/horizon-error.log
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog /var/log/kolla/horizon/horizon-access.log logformat

View File

@ -0,0 +1,8 @@
---
fixes:
- |
Fixes an issue where Fluentd was parsing Horizon WSGI application logs
incorrectly.
Horizon error logs are now written to ``horizon-error.log`` instead of
``horizon.log``.
See `LP#1898174 <https://bugs.launchpad.net/kolla-ansible/+bug/1898174>`__