From 639933e0422a2414426caac1384a56c9bed6993f Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 19 Oct 2011 15:55:07 +0200 Subject: [PATCH] log_stack as 'info' level as it's painful to turn on debug level --- sfa/util/sfalogging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/util/sfalogging.py b/sfa/util/sfalogging.py index 3c7eee60..75229b38 100644 --- a/sfa/util/sfalogging.py +++ b/sfa/util/sfalogging.py @@ -103,8 +103,8 @@ class _SfaLogger: # for investigation purposes, can be placed anywhere def log_stack(self,message): to_log="".join(traceback.format_stack()) - self.debug("%s BEG STACK"%message+"\n"+to_log) - self.debug("%s END STACK"%message) + self.info("%s BEG STACK"%message+"\n"+to_log) + self.info("%s END STACK"%message) def enable_console(self, stream=sys.stdout): formatter = logging.Formatter("%(message)s") -- 2.47.0