Re: [Libguestfs] [PATCH] virt-v2v: Add verbose message logging

Mike Latimer
Fri, 06 Sep 2013 02:57:45 -0000

On Thursday, September 05, 2013 04:21:03 PM Mike Latimer
wrote:
> This patch adds the following startup options:
>
>   -v | --verbose
>         Enables verbose messages logging
>   -vv
>         Verbose messages, plus sets LIBGUESTFS_TRACE=1
>   -vvv
>         Verbose messages, plus sets LIBGUESTFS_TRACE=1 and
> LIBGUESTFS_DEBUG=1
> $output_name); };

I should have mentioned that I prefer this '-vvv' syntax (similar to
LVM),
rather than the '-v -v -v' type of syntax. However, if this second
format is
preferred, it would be easy to change to the GetOpt 'v+' type of syntax.
(Of
course, the value of all of this logging is still subjective.)

-Mike