]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
virsh: Update virsh man page
authorSupriya Kannery <supriyak@linux.vnet.ibm.com>
Thu, 30 Jun 2011 08:22:45 +0000 (13:52 +0530)
committerEric Blake <eblake@redhat.com>
Thu, 14 Jul 2011 13:25:24 +0000 (07:25 -0600)
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@in.ibm.com>
tools/virsh.pod

index 52f15492217526c5258c66c88476c1c51897e531..1a98ec1d70cdcd579ced4fcbda83303bb469894f 100644 (file)
@@ -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>
 
@@ -1560,6 +1560,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