[libvirt] [PATCH 3/4] logging: change log protocol to be more reusable