Log cProfile even if not debuging

This commit is contained in:
tomkat83 2016-12-03 14:56:25 +01:00
parent 5b27dcca4e
commit 4073679d3f

View file

@ -403,7 +403,7 @@ def profiling(sortby="cumulative"):
s = StringIO.StringIO()
ps = pstats.Stats(pr, stream=s).sort_stats(sortby)
ps.print_stats()
log.debug(s.getvalue())
log.info(s.getvalue())
return result