On Tue, Jan 04, 2022 at 02:47:11PM +0100, Martin Kletzander wrote:
Callers that already do this anyway can be cleaned up thanks to this
and the one
that does not (daemon startup) gains the benefit of the error being printed to
standard error output changing:
LIBVIRT_LOG_OUTPUTS=1:invalid libvirtd
/home/nert/dev/libvirt/upstream/build/src/libvirtd: initialisation failed
into:
LIBVIRT_LOG_OUTPUTS=1:invalid libvirtd
libvirt: error : invalid argument: Invalid destination 'invalid' for output
'1:invalid'
/home/nert/dev/libvirt/upstream/build/src/libvirtd: initialisation failed
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
Reviewed-by: Erik
Skultety <eskultet(a)redhat.com>