Fixed logoutput.