Useless logging removed