Added pubsub logging