Add logging compatible with XCE QEMU