General code clean up for easier debugging.

This commit is contained in:
Scott Idem
2022-02-15 11:51:16 -05:00
parent 85e2195297
commit a2f755b914
3 changed files with 7 additions and 7 deletions

View File

@@ -466,9 +466,9 @@ def create_update_aether_person(
cvent_contact_obj: dict,
account_id: str,
person_id: str=None,
log_lvl: int = logging.WARNING, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
):
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
log.setLevel(log_lvl)
# Important variables used more than once.
person_external_id = None