Add logging for pubsub