diff --git a/ingestion/utils.py b/ingestion/utils.py index 505a5d4..3b6efcc 100644 --- a/ingestion/utils.py +++ b/ingestion/utils.py @@ -20,10 +20,11 @@ def st_func(*args, **kwargs): logging.info( f"Function={func.__name__}, arg_types={arg_types}, kwargs={kwargs}, " f"start_time={time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(t1))}, " - f"end_time={time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(t2))}" + f"end_time={time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(t2))}, " + f"elapsed_time={str(timedelta(seconds=elapsed))}" ) logging.info( - f"Function={func.__name__}, arg_types={arg_types}, kwargs={kwargs}, elapsed_time={str(timedelta(seconds=elapsed))}" + f"Function={func.__name__}, arg_types={arg_types}, kwargs={kwargs}" ) return r