diff options
| author | Jeff Cody | 2016-04-07 23:24:19 +0200 |
|---|---|---|
| committer | Jeff Cody | 2016-06-29 04:52:45 +0200 |
| commit | 7eac868a508cdbf4cccef5c2084941b63fa3aded (patch) | |
| tree | 12886e844bba610712f473a988b1921b1842b8ad /include | |
| parent | mirror: fix trace_mirror_yield_in_flight usage in mirror_iteration() (diff) | |
| download | qemu-7eac868a508cdbf4cccef5c2084941b63fa3aded.tar.gz qemu-7eac868a508cdbf4cccef5c2084941b63fa3aded.tar.xz qemu-7eac868a508cdbf4cccef5c2084941b63fa3aded.zip | |
block/gluster: add support for selecting debug logging level
This adds commandline support for the logging level of the
gluster protocol driver, output to stdout. The option is 'debug',
e.g.:
-drive filename=gluster://192.168.15.180/gv2/test.qcow2,debug=9
Debug levels are 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
source are:
0 - None
1 - Emergency
2 - Alert
3 - Critical
4 - Error
5 - Warning
6 - Notice
7 - Info
8 - Debug
9 - Trace
(From: glusterfs/logging.h)
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
