Fixing payload logging, CircleCI fix attempt.

Payload logging was pointless, moved into class.
Let's see if this fixes CircleCI.