On Mon, Oct 5, 2009 at 4:28 AM, Amy Griffis <amy.griffis(a)hp.com> wrote:
The following patches fix logging for the lxc controller. The lxc
controller makes use of the libvirt logging module, but because it
doesn't re-initialize the logging configuration the messages are
currently going nowhere.
There are a couple of options in fixing this. The lxc controller could
use libvirtd's logging configuration exactly, or it adopt a more
independent mode of logging to the container log file. After talking
with Daniel Veillard a while back, it seemed clear that both behaviors
are desirable. I resolved this by adding a lxc.conf file for the lxc
driver, with a boolean variable to toggle between modes.
I hope this looks good to both libvirt and container folks.
I'm not so familiar with the logging module and have not looked the patches
in detail though, the fix sounds good to me and I'm very welcome it!
ozaki-r