openstack-ansible-os_ironic/templates/ironic-uwsgi.ini.j2
Dmitriy Rabotyagov 64fdc9d685 Use systemd-journald instead of log files
This patch aims to migrate service from usage of regular syslog files
to journald. We also disable uwsgi logging, since it dublicates
requests that are logged by service itself.

Change-Id: Iaddb2c158a52d90025899d9bfa5576358bef92dd
2019-07-17 00:57:58 +03:00

23 lines
676 B
Django/Jinja

[uwsgi]
uid = {{ ironic_system_user_name }}
gid = {{ ironic_system_group_name }}
virtualenv = /openstack/venvs/ironic-{{ ironic_venv_tag }}
wsgi-file = {{ ironic_bin }}/{{ item.wsgi_name }}.wsgi
http-socket = {{ item.uwsgi_bind_address }}:{{ item.uwsgi_port }}
master = true
enable-threads = true
processes = {{ ironic_wsgi_processes }}
threads = {{ ironic_wsgi_threads }}
exit-on-reload = true
die-on-term = true
lazy-apps = true
add-header = Connection: close
buffer-size = {{ ironic_wsgi_buffer_size }}
thunder-lock = true
disable-logging = true
# Avoid filling up the logs with health check requests from haproxy.
route-user-agent = ^osa-haproxy-healthcheck$ donotlog: