aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/client/request.py
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/onap_client/client/request.py')
-rw-r--r--onap-client/onap_client/client/request.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/onap-client/onap_client/client/request.py b/onap-client/onap_client/client/request.py
index 194dad5..268ee98 100644
--- a/onap-client/onap_client/client/request.py
+++ b/onap-client/onap_client/client/request.py
@@ -40,14 +40,12 @@ import requests
import json
import os
import copy
-import logging
+import logging as logger
from onap_client.client.response import ResponseHandler
from onap_client.exceptions import FilesRequestFailure
from jinja2 import exceptions as jinja_exceptions
-logger = logging.getLogger("ONAP_CLIENT")
-
class RequestHandler:
"""Handles a APICatalogRequestObject to make a request
@@ -62,7 +60,7 @@ class RequestHandler:
def make_request(self):
r = Request(self.request_object)
- logger.warning("Submitting request: {}".format(self.request_object.description))
+ logger.info("Submitting request: {}".format(self.request_object.description))
# TODO
# Add verify to config file
return ResponseHandler(r.request(verify=False), self.request_object)
@@ -110,7 +108,6 @@ class Request:
try:
logger.info(json.dumps(debug_request, indent=4))
- # logger.info(debug_request)
except TypeError:
logger.info(debug_request)