]> git.ipfire.org Git - thirdparty/libvirt.git/commit
LXC initialize logging configuration
authorAmy Griffis <amy.griffis@hp.com>
Thu, 8 Oct 2009 15:16:08 +0000 (17:16 +0200)
committerDaniel Veillard <veillard@redhat.com>
Thu, 8 Oct 2009 15:16:08 +0000 (17:16 +0200)
commit221b457e69a2efc4732ccda9daf104a3bf4a5110
treefc62a9124092b0d75a5dde6c9c4c2ce1298ce10c
parentab8dd999f5c1c2642dc691b5813365620ff63235
LXC initialize logging configuration

* src/lxc/lxc_driver.c src/lxc/lxc_controller.c: before launching the
  lxc controller, have the lxc driver query the log settings and setup
  envp[]. This provides the advantage of honoring the actual log
  configuration instead of only what had been set in the environment.
  The lxc controller now simply has to call virLogSetFromEnv().
src/lxc/lxc_controller.c
src/lxc/lxc_driver.c