Increase logging level for time measurements

This commit is contained in:
tomkat83 2016-12-17 12:59:19 +01:00
parent a14494d96d
commit bdddc9ed5d

View file

@ -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