Add support loggin conf for designate
Add support logging conf openstack_log_appender param
with fluentd and syslog log handlers
Change-Id: I621a8c7bb7221ee1aa1cbff04c26986a0e90a9d8
Related-Prod: PROD-19781
diff --git a/metadata/service/server/cluster.yml b/metadata/service/server/cluster.yml
index dfeea19..6080424 100644
--- a/metadata/service/server/cluster.yml
+++ b/metadata/service/server/cluster.yml
@@ -3,6 +3,10 @@
classes:
- service.designate.support
parameters:
+ _param:
+ openstack_log_appender: false
+ openstack_fluentd_handler_enabled: false
+ openstack_ossyslog_handler_enabled: false
designate:
server:
enabled: true
@@ -37,3 +41,22 @@
virtual_host: '/openstack'
sink:
listener_pool_name: 'designate-sink'
+ 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}
+ worker:
+ 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}