Merge "Adds LibvirtLogOutputs to define how log outputs are sent"
This commit is contained in:
commit
367349fc0b
@ -212,6 +212,11 @@ parameters:
|
||||
type: boolean
|
||||
tags:
|
||||
- role_specific
|
||||
LibvirtLogOutputs:
|
||||
description: Defines how log outputs are sent, as described in
|
||||
https://libvirt.org/logging.html .
|
||||
type: string
|
||||
default: '3:file:/var/log/libvirt/libvirtd.log'
|
||||
LibvirtLogFilters:
|
||||
description: Defines a filter to select a different logging level
|
||||
for a given category log outputs, as specified in
|
||||
@ -393,7 +398,7 @@ outputs:
|
||||
"%{hiera('$NETWORK')}"
|
||||
params:
|
||||
$NETWORK: {get_param: [ServiceNetMap, NovaLibvirtNetwork]}
|
||||
nova::compute::libvirt::log_outputs: "3:syslog:libvirtd"
|
||||
nova::compute::libvirt::log_outputs: {get_param: LibvirtLogOutputs}
|
||||
nova::compute::libvirt::log_filters: {get_param: LibvirtLogFilters}
|
||||
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
|
||||
tripleo::nova_libvirt::firewall_rules:
|
||||
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Adds LibvirtLogOutputs parameter to define how log outputs are sent,
|
||||
as described in https://libvirt.org/logging.html . In default, this
|
||||
parameter is set so that log outputs are directly recorded into
|
||||
/var/log/containers/libvirt/libvirtd.log .
|
||||
Default:
|
||||
'3:file:/var/log/libvirt/libvirtd.log'
|
Loading…
x
Reference in New Issue
Block a user