]> xenbits.xensource.com Git - libvirt.git/commit
Several fixes to libvirtd's log setup
authorAmy Griffis <amy.griffis@hp.com>
Thu, 6 Aug 2009 13:45:50 +0000 (15:45 +0200)
committerDaniel Veillard <veillard@redhat.com>
Thu, 6 Aug 2009 13:45:50 +0000 (15:45 +0200)
commit9147bf2a73116aa5be755aa7b73244f9653130ca
treedaff4d97ed5ba0ac6cec51fc6f2a27e75f46bee0
parent22a1ec68d551fff3c78efc268337c20751bc865f
Several fixes to libvirtd's log setup

* qemud/qemud.c src/logging.[ch]: Similar as for general libvirt, don't
  convert high priority levels to debug level. Ignore LIBVIRT_LOG_FILTERS
  and LIBVIRT_LOG_OUTPUTS when they're set to the empty string, otherwise
  they can override a valid setting from the config file. Send all
  settings through the parser functions for validation, so that the
  existence of a bad setting doesn't nullify a good setting that should
  have applied -- particularly the default output. Keep the order of
  precedence consistent for all variables between the environment and
  the config file.  Warn when an invalid log level, filter, or output
  is ignored.
* src/libvirt_private.syms: export internally a few convenience functions
qemud/qemud.c
src/libvirt_private.syms
src/logging.c
src/logging.h