summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaz_shinohara <ksnhr.tech@gmail.com>2017-12-07 09:43:24 +0900
committerkaz_shinohara <ksnhr.tech@gmail.com>2017-12-07 09:44:49 +0900
commitdf9aa2193f25c0fd2de2f243df3f28fbab6cbafb (patch)
tree350e86e332927d0de8b77c3b33a464610f702b1e
parent09aaff41fa3c5b60b456cb9aff9e529f8e4d6bdf (diff)
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
Notes
Notes (review): Code-Review+2: Keiichi Hikita <keiichi.hikita@gmail.com> Workflow+1: Kazunori Shinohara <ksnhr.tech@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 07 Dec 2017 01:20:56 +0000 Reviewed-on: https://review.openstack.org/526229 Project: openstack/heat-dashboard Branch: refs/heads/master
-rw-r--r--devstack/plugin.sh1
-rw-r--r--heat_dashboard/local_settings.d/_1699_orchestration_settings.py17
2 files changed, 9 insertions, 9 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 75b7035..0ee523f 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -16,7 +16,6 @@ function install_heat_dashboard {
16 16
17function configure_heat_dashboard { 17function configure_heat_dashboard {
18 cp -a ${HEAT_DASHBOARD_DIR}/heat_dashboard/enabled/* ${DEST}/horizon/openstack_dashboard/local/enabled/ 18 cp -a ${HEAT_DASHBOARD_DIR}/heat_dashboard/enabled/* ${DEST}/horizon/openstack_dashboard/local/enabled/
19 sed -i -e "25s/console/test/" ${HEAT_DASHBOARD_DIR}/heat_dashboard/local_settings.d/_1699_orchestration_settings.py
20 cp -a ${HEAT_DASHBOARD_DIR}/heat_dashboard/local_settings.d/_1699_orchestration_settings.py ${DEST}/horizon/openstack_dashboard/local/local_settings.d/ 19 cp -a ${HEAT_DASHBOARD_DIR}/heat_dashboard/local_settings.d/_1699_orchestration_settings.py ${DEST}/horizon/openstack_dashboard/local/local_settings.d/
21 cp -a ${HEAT_DASHBOARD_DIR}/etc/heat_policy.json ${DEST}/horizon/openstack_dashboard/conf/ 20 cp -a ${HEAT_DASHBOARD_DIR}/etc/heat_policy.json ${DEST}/horizon/openstack_dashboard/conf/
22 # NOTE: If locale directory does not exist, compilemessages will fail, 21 # 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 56a0ff7..af641dc 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 = {
20 'enable_user_pass': True, 20 'enable_user_pass': True,
21} 21}
22 22
23settings.LOGGING['loggers'].update({
24 'heatclient': {
25 'handlers': ['console'],
26 'level': 'DEBUG',
27 'propagate': False,
28 }
29})
30
31settings.POLICY_FILES.update({ 23settings.POLICY_FILES.update({
32 'orchestration': 'heat_policy.json', 24 'orchestration': 'heat_policy.json',
33}) 25})
26
27# Sample
28# settings.LOGGING['loggers'].update({
29# 'heatclient': {
30# 'handlers': ['console'],
31# 'level': 'DEBUG',
32# 'propagate': False,
33# }
34# })