[libvirt] PATCH: Fix libvirt log initialization to not override environment

Daniel Veillard veillard at redhat.com
Tue Jun 2 15:16:21 UTC 2009


On Tue, Jun 02, 2009 at 10:31:20AM +0100, Daniel P. Berrange wrote:
> Witht he libvirtd daemon, if you start it up with LIBVIRT_LOG_OUTPUTS  or 
> LIBVIRT_LOG_FILTERS set, then it'll initially use these settings for
> logging, but then when it reads the config file it'll reset all logging
> and ignore your environment variables. This is rather confusing ! This

  Dohhh !!! I tried one and the other but in isolation !

> quick fix makes it honour this env variables, if the config file has not
> got explicit overrides.

  ACK, this may explain something I could not reproduce once when
  someone had problem with logging on #virt !!!

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list