[libvirt] [PATCH] Fix logging in libvirt_lxc controller

Amy Griffis amy.griffis at hp.com
Thu Jun 18 17:25:46 UTC 2009


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




More information about the libvir-list mailing list