small log code change