From e45981d4991b6f26671ae0b7bbb256a7520fc038 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Thu, 13 Jun 2024 23:16:09 -0400 Subject: [PATCH] Minor changes --- app/routers/api_crud.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/routers/api_crud.py b/app/routers/api_crud.py index 89f0e89..981eba8 100644 --- a/app/routers/api_crud.py +++ b/app/routers/api_crud.py @@ -383,7 +383,7 @@ def handle_get_obj_li( jp_obj = None if jp: - log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL + log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug( urllib.parse.unquote(jp) ) try: jp_obj = json.loads(urllib.parse.unquote(jp)) @@ -405,7 +405,7 @@ def handle_get_obj_li( if jp_obj.get('and_in_li'): # NOTE: This is for the additional AND IN clauses in the WHERE statement and_in_dict_li_obj = jp_obj['and_in_li'] - log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL + log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL if order_by_li: @@ -501,7 +501,7 @@ def handle_get_obj_li( limit = commons.limit, offset = commons.offset, as_list = True, - # log_lvl = logging.DEBUG + log_lvl = logging.INFO ) else: # NOTE: The enabled and hidden parameters are new to this endpoint and the sql_select function! -2023-07-06 @@ -520,7 +520,7 @@ def handle_get_obj_li( limit = commons.limit, offset = commons.offset, as_list = True, - # log_lvl = logging.DEBUG + log_lvl = logging.INFO ) # log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL