Enable logging.conf & fluentd for ceilometer
This change introduce ability to use log_config_append parameter with
new FluentdHandler to send logs directly to Fluentd.
To save per binary log streams as it is in the default logging states generates
separate logging.conf files per service and use /etc/default/<service name>
to pass dedicated logging.conf to every service.
Change-Id: I65d2cc736e4475be0e23c02c234f4b3388900e7a
Related-Prod: PROD-16324
diff --git a/metadata/service/server/cluster.yml b/metadata/service/server/cluster.yml
index eaedfa1..5b190a8 100644
--- a/metadata/service/server/cluster.yml
+++ b/metadata/service/server/cluster.yml
@@ -5,6 +5,8 @@
parameters:
_param:
keystone_ceilometer_endpoint_type: internalURL
+ openstack_log_appender: false
+ openstack_fluentd_handler_enabled: false
ceilometer:
server:
enabled: true
@@ -25,6 +27,13 @@
user: ceilometer
password: ${_param:keystone_ceilometer_password}
endpoint_type: ${_param:keystone_ceilometer_endpoint_type}
+ logging:
+ log_appender: ${_param:openstack_log_appender}
+ log_handlers:
+ watchedfile:
+ enabled: true
+ fluentd:
+ enabled: ${_param:openstack_fluentd_handler_enabled}
message_queue:
engine: rabbitmq
host: ${_param:cluster_vip_address}