diff --git a/puppet/services/nova-libvirt.yaml b/puppet/services/nova-libvirt.yaml index 217c3dafed..339b1381bd 100644 --- a/puppet/services/nova-libvirt.yaml +++ b/puppet/services/nova-libvirt.yaml @@ -130,6 +130,12 @@ parameters: description: The password for the libvirt service when TLS is enabled type: string hidden: true + LibvirtLogFilters: + description: Defines a filter to select a different logging level + for a given category log outputs, as specified in + https://libvirt.org/logging.html . + type: string + default: '1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util' conditions: @@ -215,6 +221,7 @@ outputs: "%{hiera('$NETWORK')}" params: $NETWORK: {get_param: [ServiceNetMap, NovaLibvirtNetwork]} + nova::compute::libvirt::log_filters: {get_param: LibvirtLogFilters} nova::migration::qemu::configure_qemu: true nova::migration::qemu::migration_port_min: 61152 nova::migration::qemu::migration_port_max: 61215 diff --git a/releasenotes/notes/nova_libvirtd_log_filters-63e9e6501d779dd9.yaml b/releasenotes/notes/nova_libvirtd_log_filters-63e9e6501d779dd9.yaml new file mode 100644 index 0000000000..27452a3b9d --- /dev/null +++ b/releasenotes/notes/nova_libvirtd_log_filters-63e9e6501d779dd9.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + Adds LibvirtLogFilters parameter to define a filter to select + a different logging level for a given category log outputs, as + specified in https://libvirt.org/logging.html . + Default: + '1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util'