Merge "functions-libvirt: Enable 'qemu_monitor' logging filter for libvirt"
This commit is contained in:
commit
b0e3733cb3
@ -99,9 +99,9 @@ EOF
|
|||||||
# source file paths, not relative paths. This screws with the matching
|
# source file paths, not relative paths. This screws with the matching
|
||||||
# of '1:libvirt' making everything turn on. So use libvirt.c for now.
|
# of '1:libvirt' making everything turn on. So use libvirt.c for now.
|
||||||
# This will have to be re-visited when Ubuntu ships libvirt >= 1.2.3
|
# This will have to be re-visited when Ubuntu ships libvirt >= 1.2.3
|
||||||
local log_filters="1:libvirt.c 1:qemu 1:conf 1:security 3:object 3:event 3:json 3:file 1:util"
|
local log_filters="1:libvirt.c 1:qemu 1:conf 1:security 3:object 3:event 3:json 3:file 1:util 1:qemu_monitor"
|
||||||
else
|
else
|
||||||
local log_filters="1:libvirt 1:qemu 1:conf 1:security 3:object 3:event 3:json 3:file 1:util"
|
local log_filters="1:libvirt 1:qemu 1:conf 1:security 3:object 3:event 3:json 3:file 1:util 1:qemu_monitor"
|
||||||
fi
|
fi
|
||||||
local log_outputs="1:file:/var/log/libvirt/libvirtd.log"
|
local log_outputs="1:file:/var/log/libvirt/libvirtd.log"
|
||||||
if ! grep -q "log_filters=\"$log_filters\"" /etc/libvirt/libvirtd.conf; then
|
if ! grep -q "log_filters=\"$log_filters\"" /etc/libvirt/libvirtd.conf; then
|
||||||
|
Loading…
Reference in New Issue
Block a user