Merge "Set 'DEBUG' to horizon::log_level if HorizonDebug or Debug is true" into stable/train
This commit is contained in:
commit
4a7f6d5142
|
@ -139,6 +139,14 @@ conditions:
|
||||||
debug_unset: {equals : [{get_param: Debug}, '']}
|
debug_unset: {equals : [{get_param: Debug}, '']}
|
||||||
websso_enabled: {equals : [{get_param: WebSSOEnable}, True]}
|
websso_enabled: {equals : [{get_param: WebSSOEnable}, True]}
|
||||||
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
|
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
|
||||||
|
horizon_logger_debug:
|
||||||
|
or:
|
||||||
|
- yaql:
|
||||||
|
expression: $.data.horizon_debug.matches("true|True|TRUE")
|
||||||
|
data:
|
||||||
|
horizon_debug:
|
||||||
|
get_param: HorizonDebug
|
||||||
|
- get_param: Debug
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
@ -214,6 +222,10 @@ outputs:
|
||||||
- debug_unset
|
- debug_unset
|
||||||
- horizon::django_debug: { get_param: HorizonDebug }
|
- horizon::django_debug: { get_param: HorizonDebug }
|
||||||
- horizon::django_debug: { get_param: Debug }
|
- horizon::django_debug: { get_param: Debug }
|
||||||
|
- if:
|
||||||
|
- horizon_logger_debug
|
||||||
|
- horizon::log_level: 'DEBUG'
|
||||||
|
- {}
|
||||||
ansible_group_vars:
|
ansible_group_vars:
|
||||||
keystone_enable_member: true
|
keystone_enable_member: true
|
||||||
service_config_settings:
|
service_config_settings:
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Previously, HorizonDebug and Debug parameters change the value of
|
||||||
|
horizon::django_debug. However, those parameters didn't set DEBUG
|
||||||
|
log level to horizon logger components.
|
||||||
|
By this change, if those are true, horizon::log_level is set to
|
||||||
|
'DEBUG'.
|
Loading…
Reference in New Issue