From df9aa2193f25c0fd2de2f243df3f28fbab6cbafb Mon Sep 17 00:00:00 2001 From: kaz_shinohara Date: Thu, 7 Dec 2017 09:43:24 +0900 Subject: [PATCH] comment out logging configuration for heatclient logging handler might be varied per user's environement. comment out logging configuration in orchestraion.setting.py Change-Id: I4a7aa7756e091f9a7b104ec369722b5551f78438 --- devstack/plugin.sh | 1 - .../_1699_orchestration_settings.py | 17 +++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 75b70356..0ee523f3 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -16,7 +16,6 @@ function install_heat_dashboard { function configure_heat_dashboard { cp -a ${HEAT_DASHBOARD_DIR}/heat_dashboard/enabled/* ${DEST}/horizon/openstack_dashboard/local/enabled/ - sed -i -e "25s/console/test/" ${HEAT_DASHBOARD_DIR}/heat_dashboard/local_settings.d/_1699_orchestration_settings.py cp -a ${HEAT_DASHBOARD_DIR}/heat_dashboard/local_settings.d/_1699_orchestration_settings.py ${DEST}/horizon/openstack_dashboard/local/local_settings.d/ cp -a ${HEAT_DASHBOARD_DIR}/etc/heat_policy.json ${DEST}/horizon/openstack_dashboard/conf/ # NOTE: If locale directory does not exist, compilemessages will fail, diff --git a/heat_dashboard/local_settings.d/_1699_orchestration_settings.py b/heat_dashboard/local_settings.d/_1699_orchestration_settings.py index 56a0ff74..af641dc4 100644 --- a/heat_dashboard/local_settings.d/_1699_orchestration_settings.py +++ b/heat_dashboard/local_settings.d/_1699_orchestration_settings.py @@ -20,14 +20,15 @@ OPENSTACK_HEAT_STACK = { 'enable_user_pass': True, } -settings.LOGGING['loggers'].update({ - 'heatclient': { - 'handlers': ['console'], - 'level': 'DEBUG', - 'propagate': False, - } -}) - settings.POLICY_FILES.update({ 'orchestration': 'heat_policy.json', }) + +# Sample +# settings.LOGGING['loggers'].update({ +# 'heatclient': { +# 'handlers': ['console'], +# 'level': 'DEBUG', +# 'propagate': False, +# } +# })