diff --git a/luigi/contrib/pai.py b/luigi/contrib/pai.py index 72504a6798..05264de8a5 100644 --- a/luigi/contrib/pai.py +++ b/luigi/contrib/pai.py @@ -239,7 +239,7 @@ def __init_token(self): request_json = json.dumps({'username': self.__openpai.username, 'password': self.__openpai.password, 'expiration': self.__openpai.expiration}) - logger.debug('Get token request {0}'.format(request_json)) + logger.debug('Requesting token from OpenPai') response = rs.post(urljoin(self.__openpai.pai_url, '/api/v1/token'), headers={'Content-Type': 'application/json'}, data=request_json) logger.debug('Get token response {0}'.format(response.text))