Log: Use data entity instead of id directly