kolla-ansible/ansible/roles/horizon/templates
Doug Szumski 4168b46cff Fix Horizon WSGI application log parsing
Like other WSGI services in Kolla Ansible, the Horizon WSGI application
handles log output via the `wsgi.errors` object. See [1] for further
information. The problem is that this log output is written to a file called
`horizon.log`, causing it to processed as an 'Oslo log' in the Fluentd
processing pipeline. Since the log format doesn't match the expected format,
this results in parsing errors.

This fix renames the log file and adjusts the format to match other WSGI
applications. The logs are then processed in the same way as other WSGI
application logs, resolving the issue.

[1] https://modwsgi.readthedocs.io/en/master/user-guides/debugging-techniques.html

Change-Id: I93777d1c53920f5470c78356e6b3a4064fbe04b4
Closes-Bug: #1898174
2023-11-28 14:43:18 +00:00
..
custom_local_settings.j2 horizon: allow to configure by custom_local_settings.j2 2018-05-18 13:27:18 -04:00
horizon.conf.j2 Fix Horizon WSGI application log parsing 2023-11-28 14:43:18 +00:00
horizon.json.j2 horizon: Support custom themes 2022-01-31 14:34:24 +00:00
local_settings.j2 Set HORIZON_IMAGES_UPLOAD_MODE to direct by default 2023-11-06 15:30:18 +00:00