Merge "comment out logging configuration for heatclient"

This commit is contained in:
Zuul 2017-12-07 01:20:56 +00:00 committed by Gerrit Code Review
commit ae783aad84
2 changed files with 9 additions and 9 deletions

View File

@ -16,7 +16,6 @@ function install_heat_dashboard {
function configure_heat_dashboard { function configure_heat_dashboard {
cp -a ${HEAT_DASHBOARD_DIR}/heat_dashboard/enabled/* ${DEST}/horizon/openstack_dashboard/local/enabled/ 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}/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/ cp -a ${HEAT_DASHBOARD_DIR}/etc/heat_policy.json ${DEST}/horizon/openstack_dashboard/conf/
# NOTE: If locale directory does not exist, compilemessages will fail, # NOTE: If locale directory does not exist, compilemessages will fail,

View File

@ -20,14 +20,15 @@ OPENSTACK_HEAT_STACK = {
'enable_user_pass': True, 'enable_user_pass': True,
} }
settings.LOGGING['loggers'].update({
'heatclient': {
'handlers': ['console'],
'level': 'DEBUG',
'propagate': False,
}
})
settings.POLICY_FILES.update({ settings.POLICY_FILES.update({
'orchestration': 'heat_policy.json', 'orchestration': 'heat_policy.json',
}) })
# Sample
# settings.LOGGING['loggers'].update({
# 'heatclient': {
# 'handlers': ['console'],
# 'level': 'DEBUG',
# 'propagate': False,
# }
# })