[libvirt] [test-API][PATCH 2/2] Fix problem of a logger instance