Re: [libvirt] [PATCH 2/7] Refactor code that skips logging of error messages

2014-03-04 Thread Eric Blake
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

[libvirt] [PATCH 2/7] Refactor code that skips logging of error messages

2014-03-03 Thread Daniel P. Berrange
The virRaiseErrorFull method sends all error messages onto the 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