Fix Heat WSGI Logging
Fix Heat WSGI logging directives and correct access log name. Change-Id: Iac09e481ae46934fc26300eba8c5d81ccd0504e8 Partially-Implements: blueprint add-ssl-internal-network
This commit is contained in:
parent
9540f22e24
commit
67a31fd219
@ -2,6 +2,7 @@
|
|||||||
debug = {{ heat_logging_debug }}
|
debug = {{ heat_logging_debug }}
|
||||||
|
|
||||||
log_dir = /var/log/kolla/heat
|
log_dir = /var/log/kolla/heat
|
||||||
|
log_file = $log_dir/{{ service_name }}.log
|
||||||
|
|
||||||
heat_metadata_server_url = {{ public_protocol }}://{{ heat_cfn_external_fqdn | put_address_in_context('url') }}:{{ heat_api_cfn_port }}
|
heat_metadata_server_url = {{ public_protocol }}://{{ heat_cfn_external_fqdn | put_address_in_context('url') }}:{{ heat_api_cfn_port }}
|
||||||
heat_waitcondition_server_url = {{ public_protocol }}://{{ heat_cfn_external_fqdn | put_address_in_context('url') }}:{{ heat_api_cfn_port }}/v1/waitcondition
|
heat_waitcondition_server_url = {{ public_protocol }}://{{ heat_cfn_external_fqdn | put_address_in_context('url') }}:{{ heat_api_cfn_port }}/v1/waitcondition
|
||||||
|
@ -26,6 +26,10 @@ TraceEnable off
|
|||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
ErrorLog "{{ heat_log_dir }}/apache-cfn-error.log"
|
||||||
|
<IfModule log_config_module>
|
||||||
|
CustomLog "{{ heat_log_dir }}/apache-cfn-access.log" common
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
<VirtualHost *:{{ heat_api_cfn_listen_port }}>
|
<VirtualHost *:{{ heat_api_cfn_listen_port }}>
|
||||||
WSGIDaemonProcess heat-api-cfn processes={{ openstack_service_workers }} threads=1 user=heat group=heat display-name=%{GROUP} python-path={{ python_path }}
|
WSGIDaemonProcess heat-api-cfn processes={{ openstack_service_workers }} threads=1 user=heat group=heat display-name=%{GROUP} python-path={{ python_path }}
|
||||||
@ -38,7 +42,7 @@ TraceEnable off
|
|||||||
</IfVersion>
|
</IfVersion>
|
||||||
ErrorLog "{{ heat_log_dir }}/heat-api-cfn-error.log"
|
ErrorLog "{{ heat_log_dir }}/heat-api-cfn-error.log"
|
||||||
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
|
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
|
||||||
CustomLog "{{ heat_log_dir }}/heat-api-cfn-error.log" logformat
|
CustomLog "{{ heat_log_dir }}/heat-api-cfn-access.log" logformat
|
||||||
{% if heat_enable_tls_backend | bool %}
|
{% if heat_enable_tls_backend | bool %}
|
||||||
SSLEngine On
|
SSLEngine On
|
||||||
SSLCertificateFile /etc/heat/certs/heat-cert.pem
|
SSLCertificateFile /etc/heat/certs/heat-cert.pem
|
||||||
|
@ -26,6 +26,10 @@ TraceEnable off
|
|||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
ErrorLog "{{ heat_log_dir }}/apache-error.log"
|
||||||
|
<IfModule log_config_module>
|
||||||
|
CustomLog "{{ heat_log_dir }}/apache-access.log" common
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
<VirtualHost *:{{ heat_api_listen_port }}>
|
<VirtualHost *:{{ heat_api_listen_port }}>
|
||||||
WSGIDaemonProcess heat-api processes={{ openstack_service_workers }} threads=1 user=heat group=heat display-name=%{GROUP} python-path={{ python_path }}
|
WSGIDaemonProcess heat-api processes={{ openstack_service_workers }} threads=1 user=heat group=heat display-name=%{GROUP} python-path={{ python_path }}
|
||||||
@ -38,7 +42,7 @@ TraceEnable off
|
|||||||
</IfVersion>
|
</IfVersion>
|
||||||
ErrorLog "{{ heat_log_dir }}/heat-api-error.log"
|
ErrorLog "{{ heat_log_dir }}/heat-api-error.log"
|
||||||
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
|
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
|
||||||
CustomLog "{{ heat_log_dir }}/heat-api-error.log" logformat
|
CustomLog "{{ heat_log_dir }}/heat-api-access.log" logformat
|
||||||
{% if heat_enable_tls_backend | bool %}
|
{% if heat_enable_tls_backend | bool %}
|
||||||
SSLEngine On
|
SSLEngine On
|
||||||
SSLCertificateFile /etc/heat/certs/heat-cert.pem
|
SSLCertificateFile /etc/heat/certs/heat-cert.pem
|
||||||
|
Loading…
Reference in New Issue
Block a user