logging prettyprinted payload