[libvirt] [PATCH 1/5] virlog: Don't log devmapper

Peter Krempa pkrempa at redhat.com
Mon Mar 26 07:49:08 UTC 2018


On Mon, Mar 26, 2018 at 07:16:42 +0200, Michal Privoznik wrote:
> Unless overridden, libdevmapper logs all messages to stderr.
> Therefore if something goes wrong in storage_backend_mpath.c or
> parthelper.c we don't honour user set logging targets.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/util/virlog.c | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)

I think this should be done in the function which registers the mpath
storage backend. For now it should work as is, but given that we are
going to split the daemons this code will not really be necessary in
other places.

And it really does not have to do much with our logging code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180326/48b531ff/attachment-0001.sig>


More information about the libvir-list mailing list