Merge "Set 'DEBUG' to horizon::log_level if HorizonDebug or Debug is true" into stable/ussuri
This commit is contained in:
commit
9e3af44a35
|
@ -158,6 +158,14 @@ conditions:
|
||||||
equals:
|
equals:
|
||||||
- {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, HorizonNetwork]}]}
|
- {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, HorizonNetwork]}]}
|
||||||
- 6
|
- 6
|
||||||
|
horizon_logger_debug:
|
||||||
|
or:
|
||||||
|
- yaql:
|
||||||
|
expression: $.data.horizon_debug.matches("true|True|TRUE")
|
||||||
|
data:
|
||||||
|
horizon_debug:
|
||||||
|
get_param: HorizonDebug
|
||||||
|
- get_param: Debug
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
@ -233,6 +241,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'
|
||||||
|
- {}
|
||||||
- if:
|
- if:
|
||||||
- horizon_domain_choices_set
|
- horizon_domain_choices_set
|
||||||
- horizon::keystone_domain_choices: {get_param: HorizonDomainChoices}
|
- horizon::keystone_domain_choices: {get_param: HorizonDomainChoices}
|
||||||
|
|
|
@ -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