[Freeipa-devel] [PATCH] 396 with verbose print XML-RPC output
Rob Crittenden
rcritten at redhat.com
Mon Apr 19 20:37:02 UTC 2010
Rob Crittenden wrote:
> Martin Nagy wrote:
>> On 03/05/2010 07:45 PM, Rob Crittenden wrote:
>>> Connect the -v flag in the ipa command to including the XML-RPC
>>> conversation in the output:
>>>
>>> % ipa -v user-show admin
>> [snip]
>>
>> Rob, do you think we could use something like -vv for this? The
>> XML-RPC conversation seems to be a little bit too verbose.
>>
>> Martin
>
> Hmm, maybe. verbose is currently a boolean. We could switch the option
> to be a 'count' and return the number of v's. So 0 is still False, 1 is
> still True and anything higher we can compare against a number. I think
> that would work, I'll take a look.
>
>
I switched the boolean -v to a counter.
A single -v enables more verbose logging
Two -v's enables printing the XML-RPC request
rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-396-2-verbose.patch
Type: application/mbox
Size: 3592 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100419/70652682/attachment.mbox>
More information about the Freeipa-devel
mailing list