Barbican add ability to use global logging.conf
Add ability to use global logging.conf template which can be
used in all openstack components which support oslo.log
Change-Id: I2867fcc83a54e005c65d6c5f4ed30933ba7abfa5
Related-Prod: PROD-21353
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
index fdfac1b..a2a73e4 100644
--- a/metadata/service/server/single.yml
+++ b/metadata/service/server/single.yml
@@ -4,6 +4,9 @@
- service.barbican.support
parameters:
_param:
+ openstack_log_appender: false
+ openstack_fluentd_handler_enabled: false
+ openstack_ossyslog_handler_enabled: false
keystone_barbican_endpoint_type: internalURL
barbican_service_protocol: 'http'
barbican:
@@ -13,6 +16,15 @@
region: ${_param:openstack_region}
host_href: "${_param:barbican_service_protocol}://${_param:single_address}:9311"
is_proxied: false
+ 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}
bind:
address: ${_param:single_address}
port: 9311