fix logging for tokenBasedUpload change to default context parameter