Add logging of payload