X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fcommon%2Fhttp.py;h=433edd0c126417357c7bc44717dadfb49ccf0921;hb=d1f7ae3fe34da59e8116adcfa52d1cb19e8248b5;hp=fa5eae7279ede31ff8594a3a666432e8f03bbbab;hpb=95686bbc69ded243c346f94dceb0bee567572fb7;p=osm%2Fosmclient.git diff --git a/osmclient/common/http.py b/osmclient/common/http.py index fa5eae7..433edd0 100644 --- a/osmclient/common/http.py +++ b/osmclient/common/http.py @@ -17,6 +17,7 @@ from io import BytesIO import pycurl import json +import logging class Http(object): @@ -25,6 +26,7 @@ class Http(object): self._user = user self._password = password self._http_header = None + self._logger = logging.getLogger("osmclient") def set_http_header(self, header): self._http_header = header