Add panko log in fluentd
Change-Id: Ic3b994056e6287488a0a9f7dbeb140c007ad86d3
This commit is contained in:
parent
f80b38d97f
commit
46b1b91607
@ -1,7 +1,7 @@
|
|||||||
<match kolla.var.log.kolla.*.*.log>
|
<match kolla.var.log.kolla.*.*.log>
|
||||||
@type rewrite_tag_filter
|
@type rewrite_tag_filter
|
||||||
capitalize_regex_backreference yes
|
capitalize_regex_backreference yes
|
||||||
rewriterule1 programname ^(cinder-api-access|gnocchi-api-access|horizon-access|keystone-apache-admin-access|keystone-apache-public-access|placement-api-access)$ apache_access
|
rewriterule1 programname ^(cinder-api-access|gnocchi-api-access|horizon-access|keystone-apache-admin-access|keystone-apache-public-access|placement-api-access|panko-api-access)$ apache_access
|
||||||
rewriterule2 programname ^(aodh_wsgi_access | zun_api_wsgi_access)$ wsgi_access
|
rewriterule2 programname ^(aodh_wsgi_access | zun_api_wsgi_access)$ wsgi_access
|
||||||
rewriterule3 programname ^(nova-api|nova-compute|nova-conductor|nova-consoleauth|nova-manage|nova-novncproxy|nova-scheduler|nova-placement-api|placement-api|privsep-helper)$ openstack_python
|
rewriterule3 programname ^(nova-api|nova-compute|nova-conductor|nova-consoleauth|nova-manage|nova-novncproxy|nova-scheduler|nova-placement-api|placement-api|privsep-helper)$ openstack_python
|
||||||
rewriterule4 programname ^(sahara-api|sahara-engine)$ openstack_python
|
rewriterule4 programname ^(sahara-api|sahara-engine)$ openstack_python
|
||||||
@ -29,4 +29,5 @@
|
|||||||
rewriterule26 programname ^(kuryr-server)$ openstack_python
|
rewriterule26 programname ^(kuryr-server)$ openstack_python
|
||||||
rewriterule27 programname ^(gnocchi-api|gnocchi-statsd|gnocchi-metricd|gnocchi-upgrade)$ openstack_python
|
rewriterule27 programname ^(gnocchi-api|gnocchi-statsd|gnocchi-metricd|gnocchi-upgrade)$ openstack_python
|
||||||
rewriterule28 programname ^(ironic-api|ironic-conductor)$ openstack_python
|
rewriterule28 programname ^(ironic-api|ironic-conductor)$ openstack_python
|
||||||
|
rewriterule29 programname ^(panko-api|panko-dbsync)$ openstack_python
|
||||||
</match>
|
</match>
|
||||||
|
@ -3,6 +3,12 @@
|
|||||||
log_dir = /var/log/kolla/panko
|
log_dir = /var/log/kolla/panko
|
||||||
debug = {{ panko_logging_debug }}
|
debug = {{ panko_logging_debug }}
|
||||||
|
|
||||||
|
{% if service_name == 'panko-api' %}
|
||||||
|
# Force panko-api.log or will use app.wsgi
|
||||||
|
log_file = /var/log/kolla/panko/panko-api.log
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
{% if panko_database_type == "mongodb" %}
|
{% if panko_database_type == "mongodb" %}
|
||||||
event_connection = mongodb://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mongodb_address }}/{{ panko_database_name }}
|
event_connection = mongodb://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mongodb_address }}/{{ panko_database_name }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user