Better logging. Less logging.
This commit is contained in:
@@ -85,7 +85,7 @@ def logger_reset(func):
|
||||
# log.info(locals())
|
||||
@functools.wraps(func)
|
||||
def wrapper(*args, **kwargs):
|
||||
if func.__name__ not in ['redis_lookup_id_random']:
|
||||
if func.__name__ not in ['redis_lookup_id_random', 'sql_enable_part', 'sql_hidden_part']:
|
||||
log.info(f'*** Function: "{func.__name__}()"')
|
||||
log.debug(f'*** Function Positional Args: {args}\nFunction Key Args: {kwargs}')
|
||||
init_log_level = log.level
|
||||
|
||||
Reference in New Issue
Block a user