On 03/03/2014 12:18 PM, Daniel P. Berrange wrote:
The virRaiseErrorFull method sends all error messages onto the
s/onto/on to/
logging code. The logging code has some logic to skip emission
when no log outputs are configured which checks the virLogSource.
This will complicate later refactoring, and the check can easily
be done in the virRaiseErrorFull method instead of in the logging
code.
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
src/util/virerror.c | 14 ++++++++++----
src/util/virlog.c | 2 +-
2 files changed, 11 insertions(+), 5 deletions(-)
ACK
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org