Minor changes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user