From 4d3049e7cd8571aac26bd9aec6cfda9b6933433d Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Tue, 6 Nov 2012 20:38:14 -0600 Subject: [PATCH] Configure Cinder for syslog if enabled Change-Id: I3d2770cd2c3e3b93c0f26de359e5b0cb166826c1 --- lib/cinder | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/cinder b/lib/cinder index d24212d74a..c2cf15bf7b 100644 --- a/lib/cinder +++ b/lib/cinder @@ -125,6 +125,10 @@ function configure_cinder() { iniset $CINDER_CONF DEFAULT osapi_volume_extension cinder.api.openstack.volume.contrib.standard_extensions iniset $CINDER_CONF DEFAULT state_path $CINDER_STATE_PATH + if [ "$SYSLOG" != "False" ]; then + iniset $CINDER_CONF DEFAULT use_syslog True + fi + if is_service_enabled qpid ; then iniset $CINDER_CONF DEFAULT rpc_backend cinder.openstack.common.rpc.impl_qpid elif is_service_enabled zeromq; then