]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: conf: add option for tuning debug logging level
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Wed, 21 Sep 2016 19:34:18 +0000 (01:04 +0530)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Nov 2016 15:52:40 +0000 (16:52 +0100)
commita944bd925902d9ecce81e08900ad6a1adee06c6c
treebeeb646677836825d2fa722dce9c261a4f8dc7ce
parent36e9b16e24b69d903ba1ec1534b24c4e12e6c610
qemu: conf: add option for tuning debug logging level

This helps in selecting log level of the gluster gfapi, output to stderr.
The option is 'gluster_debug_level', can be tuned by editing
'/etc/libvirt/qemu.conf'

Debug levels ranges 0-9, with 9 being the most verbose, and 0
representing no debugging output.  The default is the same as it was
before, which is a level of 4.  The current logging levels defined in
the gluster gfapi are:

    0 - None
    1 - Emergency
    2 - Alert
    3 - Critical
    4 - Error
    5 - Warning
    6 - Notice
    7 - Info
    8 - Debug
    9 - Trace

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/libvirtd_qemu.aug
src/qemu/qemu.conf
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h