From b7d48c67bf1626322ec3f8647a3daaee7ff94e87 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 28 Sep 2022 18:20:35 -0400 Subject: [PATCH] Minor changes --- app/log.py | 2 +- app/methods/event_session_methods.py | 2 +- app/routers/aether_cfg.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/log.py b/app/log.py index fc56ff4..e7a6ac5 100644 --- a/app/log.py +++ b/app/log.py @@ -38,7 +38,7 @@ logging.config.dictConfig({ } }, 'root': { - 'handlers': ['console', 'log_file_all'], #, 'log_file_all', 'log_file_warning'], + 'handlers': ['console'], #, 'log_file_all', 'log_file_warning'], 'level': 'WARNING', # WARNING } }) diff --git a/app/methods/event_session_methods.py b/app/methods/event_session_methods.py index a5bc684..7bc903f 100644 --- a/app/methods/event_session_methods.py +++ b/app/methods/event_session_methods.py @@ -174,7 +174,7 @@ def load_event_session_obj( # Updated 2022-09-20 if inc_event_location_list: - log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL + # log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.info('Need to include event location list...') if event_location_rec_list_result := get_event_location_rec_list( diff --git a/app/routers/aether_cfg.py b/app/routers/aether_cfg.py index 0d0a302..a5c48b4 100644 --- a/app/routers/aether_cfg.py +++ b/app/routers/aether_cfg.py @@ -49,11 +49,11 @@ async def get_aether_flask_cfg_obj( x_account_id: str = Header(None, min_length=11, max_length=22), response: Response = Response, ): - log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL + log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log.debug(locals()) if sql_select_result := sql_select( - table_name = 'flask_cfg', + table_name = 'cfg_flask', record_id = aether_flask_cfg_id, as_list = False, max_count = 1,