Adds LibvirtLogOutputs to define how log outputs are sent
LibvrtLogOutputs to define how log outputs are sent, like file, syslog, and so on. In default, it is configured so that libvirt directly records its log into /var/log/containers/libvirt/libvirtd.log . Change-Id: Iac3d3e9d95c281433cf189c7d277f0a833736ffa
This commit is contained in:
parent
e709025a03
commit
5fd7b487fd
|
@ -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…
Reference in New Issue