Changed logging in kmain slightly