remove log as param