Merge "libvirt: fix formatting of the log_outputs parameter" into stable/wallaby
This commit is contained in:
commit
fc9cdf4f64
|
@ -32,6 +32,11 @@ outputs:
|
|||
description: Extra hieradata needed to log to files in the host.
|
||||
value:
|
||||
nova::compute::libvirt::log_outputs:
|
||||
str_replace:
|
||||
template:
|
||||
'LEVEL:file:/var/log/libvirt/libvirtd.log'
|
||||
params:
|
||||
LEVEL:
|
||||
if:
|
||||
- or:
|
||||
- {get_param: Debug }
|
||||
|
@ -39,6 +44,11 @@ outputs:
|
|||
- 1
|
||||
- {get_param: LibvirtLogLevel}
|
||||
nova::compute::libvirt::virtlogd::log_outputs:
|
||||
str_replace:
|
||||
template:
|
||||
'LEVEL:file:/var/log/libvirt/virtlogd.log'
|
||||
params:
|
||||
LEVEL:
|
||||
if:
|
||||
- or:
|
||||
- {get_param: Debug }
|
||||
|
|
|
@ -32,6 +32,11 @@ outputs:
|
|||
description: Extra hieradata needed to log to stdout.
|
||||
value:
|
||||
nova::compute::libvirt::log_outputs:
|
||||
str_replace:
|
||||
template:
|
||||
'LEVEL:stderr'
|
||||
params:
|
||||
LEVEL:
|
||||
if:
|
||||
- or:
|
||||
- {get_param: Debug }
|
||||
|
@ -39,6 +44,11 @@ outputs:
|
|||
- 1
|
||||
- {get_param: LibvirtLogLevel}
|
||||
nova::compute::libvirt::virtlogd::log_outputs:
|
||||
str_replace:
|
||||
template:
|
||||
'LEVEL:stderr'
|
||||
params:
|
||||
LEVEL:
|
||||
if:
|
||||
- or:
|
||||
- {get_param: Debug }
|
||||
|
|
Loading…
Reference in New Issue