diff --git a/maxarcat/catalog.py b/maxarcat/catalog.py index 6c00265..ca4e25d 100644 --- a/maxarcat/catalog.py +++ b/maxarcat/catalog.py @@ -309,7 +309,7 @@ def get_url(self, url: str) -> bytes: :param url: Any catalog URL that supports GET. :return: Response body as bytes """ - logging.info(f'GET {url}') + Catalog.logger.info(f'GET {url}') return self._request_url(requests.get, url) def get_url_json(self, url: str): @@ -319,7 +319,7 @@ def get_url_json(self, url: str): :param url: URL from an item's asset's href property :return: Parsed JSON, generally returning a dict """ - logging.info(f'GET {url}') + Catalog.logger.info(f'GET {url}') response = self._request_url(requests.get, url) try: return json.loads(str(response, encoding='utf-8'))