Valid loglevel range for virsh is 0-4. Update virsh man page accordingly. Also explain virsh ENV variables and values. Signed-off-by: Supriya Kannery <supriyak@xxxxxxxxxx> --- tools/virsh.pod | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) Index: libvirt/tools/virsh.pod =================================================================== --- libvirt.orig/tools/virsh.pod +++ libvirt/tools/virsh.pod @@ -72,7 +72,7 @@ instead of the default connection. =item B<-d>, B<--debug> I<LEVEL> Enable debug messages at integer I<LEVEL> and above. I<LEVEL> can -range from 0 (default) to 5. +range from 0 (default) to 4. =item B<-l>, B<--log> I<FILE> @@ -1534,6 +1534,34 @@ of C<virsh> =over 4 +=item VIRSH_DEBUG=<0 to 4> + +Turn on verbose debugging of virsh commands. Valid levels are + +=item * VIRSH_DEBUG=0 + +DEBUG - Messages at ALL levels get logged + +=item * VIRSH_DEBUG=1 + +INFO - Logs messages at levels INFO, NOTICE, WARNING and ERROR + +=item * VIRSH_DEBUG=2 + +NOTICE - Logs messages at levels NOTICE, WARNING and ERROR + +=item * VIRSH_DEBUG=3 + +WARNING - Logs messages at levels WARNING and ERROR + +=item * VIRSH_DEBUG=4 + +ERROR - Messages at only ERROR level gets logged. + +=item VIRSH_LOG_FILE=C<LOGFILE> + +The file to log virsh debug messages. + =item VIRSH_DEFAULT_CONNECT_URI The hypervisor to connect to by default. Set this to a URI, in the same -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list