General clean up. Less debug.

This commit is contained in:
Scott Idem
2023-07-12 15:20:13 -04:00
parent 9f99ca23ba
commit 7d51376cb5
6 changed files with 8 additions and 9 deletions

View File

@@ -254,7 +254,7 @@ def create_update_event_abstract_obj(
fail_any: bool = False, # Fail if any thing goes wrong for sub objects
return_outline: bool = False,
) -> int|bool:
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
log.info('Checking requirements...')
@@ -463,7 +463,7 @@ def remove_event_abstract_obj(
method: None|str = None,
log_lvl: int = logging.DEBUG, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log_lvl: int = logging.INFO, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
) -> bool|None:
log.setLevel(log_lvl)