[libvirt] [PATCH] Fix flaw in detecting log format