rename resourcename in logs when entityid chaned