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

 



What do you think if we combine -l, -q and -v parameters in the following way:
absence of the parameter will set log level to base (1)
-l off will work as it is right now (logging is off)
-l N is setup of the level (i.e., -l 1 will be equal to the default
settings, where N can be from 0 to 2 as it is right now).

This way we can simplify the log handling from source code point of
view. Having three parameters which might collide with each other
seems rather error prone.

On Thu, Oct 3, 2013 at 10:50 AM, Dave Jones <davej@xxxxxxxxxx> wrote:
> On Thu, Oct 03, 2013 at 10:31:03AM -0700, Ildar Muslukhov wrote:
>  > Sure, let me deal with the printf first and then I will take a look at
>  > debugf. BTW, before I jump to printf, can I ask you to push the last
>  > patch I've sent, just want to avoid painful merge after with it, since
>  > it does move some printf around a bit.
>
> done, thanks.
>
>         Dave
--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux