Added logging functionality to linuxemu