[libvirt] [test-API PATCH 2/3] improvement on comments function name and destruct logger handlers