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

Re: [libvirt] [PATCH] Fix logging in libvirt_lxc controller



Taking a second look at the log level code and documentation,
there seems to be some confusion around the value of '0'. It's
not one of the defined log priorities, but it is mentioned in the
documentation on the website both as meaning "log everything" and
"no logging at all".

In the code, there are times when it's accepted (for outputs),
rejected (for filters) and ignored (for the loglevel). For the
outputs, specifying level 0 is effectively the same as specifying
level 1.

I'm wondering if there is any historical reason for the '0'
value, or if we could just do away with it completely?

Thanks,
Amy


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