Fix config problems and integrate pubnub logging ad remote node