Fixed problem returning entity id / name from log.