remove log code