From 4073679d3f34f2a48ecb6d07730ee9dc52f016bf Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sat, 3 Dec 2016 14:56:25 +0100 Subject: [PATCH] Log cProfile even if not debuging --- resources/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 52d5c415..c956e528 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -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