Add support loggin conf for panko
Add support fluentd.conf for openstack_log_appender param
with fluentd, ossyslog handlers.
Change-Id: I57b9cdacbe028ab96ee89f9a3d3fd247999a0df1
Related-Prod: PROD-19781
diff --git a/metadata/service/server/cluster.yml b/metadata/service/server/cluster.yml
index d5b6fa2..2df7e3d 100644
--- a/metadata/service/server/cluster.yml
+++ b/metadata/service/server/cluster.yml
@@ -5,6 +5,9 @@
parameters:
_param:
keystone_panko_endpoint_type: internalURL
+ openstack_log_appender: false
+ openstack_fluentd_handler_enabled: false
+ openstack_ossyslog_handler_enabled: false
panko:
server:
enabled: true
@@ -28,3 +31,12 @@
region: RegionOne
tenant: service
endpoint_type: ${_param:keystone_panko_endpoint_type}
+ logging:
+ log_appender: ${_param:openstack_log_appender}
+ log_handlers:
+ watchedfile:
+ enabled: true
+ fluentd:
+ enabled: ${_param:openstack_fluentd_handler_enabled}
+ ossyslog:
+ enabled: ${_param:openstack_ossyslog_handler_enabled}
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
index 5cacf0c..950074f 100644
--- a/metadata/service/server/single.yml
+++ b/metadata/service/server/single.yml
@@ -5,6 +5,9 @@
parameters:
_param:
keystone_panko_endpoint_type: internalURL
+ openstack_log_appender: false
+ openstack_fluentd_handler_enabled: false
+ openstack_ossyslog_handler_enabled: false
panko:
server:
enabled: true
@@ -28,3 +31,12 @@
region: RegionOne
tenant: service
endpoint_type: ${_param:keystone_panko_endpoint_type}
+ logging:
+ log_appender: ${_param:openstack_log_appender}
+ log_handlers:
+ watchedfile:
+ enabled: true
+ fluentd:
+ enabled: ${_param:openstack_fluentd_handler_enabled}
+ ossyslog:
+ enabled: ${_param:openstack_ossyslog_handler_enabled}
diff --git a/metadata/service/support.yml b/metadata/service/support.yml
index c9bb4c8..04ca353 100644
--- a/metadata/service/support.yml
+++ b/metadata/service/support.yml
@@ -9,3 +9,5 @@
enabled: false
sphinx:
enabled: true
+ fluentd:
+ enabled: true