Add JID logging