Re: [libvirt] [PATCH v2 6/8] Include error domain and code in log messages from errors

2014-02-28 Thread Eric Blake
On 02/24/2014 09:49 AM, Daniel P. Berrange wrote: When a virError is raised, pass the error domain and code onto the systemd journald using metadata fields. This allows error messages to be queried by code eg $ journalctl LIBVIRT_CODE=43 Requires the user to do a reverse lookup from the

[libvirt] [PATCH v2 6/8] Include error domain and code in log messages from errors

2014-02-24 Thread Daniel P. Berrange
When a virError is raised, pass the error domain and code onto the systemd journald using metadata fields. This allows error messages to be queried by code eg $ journalctl LIBVIRT_CODE=43 Signed-off-by: Daniel P. Berrange berra...@redhat.com --- docs/logging.html.in | 4