Increase logging level for time measurements
This commit is contained in:
parent
a14494d96d
commit
bdddc9ed5d
1 changed files with 1 additions and 1 deletions
|
@ -856,7 +856,7 @@ def LogTime(func):
|
|||
starttotal = datetime.now()
|
||||
result = func(*args, **kwargs)
|
||||
elapsedtotal = datetime.now() - starttotal
|
||||
log.debug('It took %s to run the function %s'
|
||||
log.info('It took %s to run the function %s'
|
||||
% (elapsedtotal, func.__name__))
|
||||
return result
|
||||
return wrapper
|
||||
|
|
Loading…
Reference in a new issue