From c444721b9d6e2a08a15763667489e79813a2d60b Mon Sep 17 00:00:00 2001 From: Supriya Kannery Date: Thu, 30 Jun 2011 13:52:45 +0530 Subject: [PATCH] virsh: Update virsh man page 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 --- tools/virsh.pod | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 52f1549221..1a98ec1d70 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -72,7 +72,7 @@ instead of the default connection. =item B<-d>, B<--debug> I Enable debug messages at integer I and above. I can -range from 0 (default) to 5. +range from 0 (default) to 4. =item B<-l>, B<--log> I @@ -1560,6 +1560,34 @@ of C =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 + +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 -- GitLab