From 96cc8a2371f3d029413bea15a3c7053b0add7425 Mon Sep 17 00:00:00 2001 From: Julien Rossow-Greenberg Date: Sat, 17 Feb 2024 08:08:23 -0500 Subject: [PATCH] change logging level --- pytdx/tdx.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pytdx/tdx.py b/pytdx/tdx.py index 9202c91..62f8061 100644 --- a/pytdx/tdx.py +++ b/pytdx/tdx.py @@ -43,7 +43,7 @@ def __init__( self.ticketing_app_id = ticketing_app_id self.is_admin = is_admin - logging.basicConfig(level=logging.DEBUG) + logging.basicConfig(level=logging.INFO) # Param checking if environment == "production": @@ -162,9 +162,11 @@ def __request(self, method: str, url: str, data=False): try: match method: case "GET": + logging.info("Request url: ", url) response = self.session.get(url, headers=self.default_header) case "PUT": logging.info("Request data: ", json_data) + logging.info("Request url: ", url) response = self.session.put( url, headers=self.default_header, data=json_data )