Fix payload logging