Added better log when isIdentity is true