[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 3/3] xl: new "loglvl" command



>>> On 07.03.16 at 14:20, <fabio.fantoni@xxxxxxx> wrote:
> Il 04/03/2016 17:48, Jan Beulich ha scritto:
>> --- a/tools/libxl/xl_cmdimpl.c
>> +++ b/tools/libxl/xl_cmdimpl.c
>> @@ -6469,6 +6469,84 @@ int main_debug_keys(int argc, char **arg
>>       return 0;
>>   }
>>   
>> +static const struct {
>> +    int level;
>> +    char string[8];
>> +} loglvls[] = {
>> +    { 0, "none" },
>> +    { 1, "error" },
>> +    { 2, "warning" },
>> +    { 3, "info" },
>> +    { 4, "all" },
>> +    { 4, "debug" },
>> +};
> 
> double "4" for both all and debug seems strange to me, is it right?

Yes, it is both right and intentional.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.