]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Revert all previous error log priority hacks
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 21 Jan 2011 16:46:16 +0000 (16:46 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 26 Jan 2011 14:54:23 +0000 (14:54 +0000)
commitdbfca3ff70cffccd4d7b638028ca7ddc2fba3c86
tree4a8283d02922baf3b8b9e9e104a37d17c999d005
parent2b7ac8838d9b4a79163cc88007f2b58d0edbe02e
Revert all previous error log priority hacks

This reverts the additions in commit

  abff683f78ffd01df5005fb7a457c0b38b8eb6e1

taking us back to state where all errors are fully logged
in both libvirtd and normal clients.

THe intent was to stop VIR_ERR_NO_DOMAIN (No such domain
with UUID XXXX) messages from client apps polluting syslog
The change affected all error codes, but more seriously,
it also impacted errors from internal libvirtd infrastructure
For example guest autostart no longer logged errors. The
libvirtd network code no longer logged some errors. This
makes debugging incredibly hard

* daemon/libvirtd.c: Remove error log priority filter
* src/util/virterror.c, src/util/virterror_internal.h: Remove
  callback for overriding log priority
daemon/libvirtd.c
src/libvirt_private.syms
src/util/virterror.c
src/util/virterror_internal.h