Update virsh man page with usage of new env variables
Signed-off-by: Supriya Kannery <supriyak(a)in.ibm.com>
---
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 to 4 (default).
=item B<-l>, B<--log> I<FILE>
@@ -1340,6 +1340,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
+
+Messages at level ERROR
+
+=item * VIRSH_DEBUG=1
+
+Messages at levels WARNING and ERROR
+
+=item * VIRSH_DEBUG=2
+
+Messages at levels NOTICE, WARNING and ERROR
+
+=item * VIRSH_DEBUG=3
+
+Messages at levels INFO, NOTICE, WARNING and ERROR
+
+=item * VIRSH_DEBUG=4
+
+Messages at level DEBUG and all other lower levels.
+
+=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