log entities id in __link...