From: Tony Mack Date: Wed, 1 Dec 2010 21:04:49 +0000 (-0500) Subject: in sfa_loger_goes_to_import() _logger should be _the_logger X-Git-Tag: sfa-1.0-9~7 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8f508e00b22729d9a993680139c49303e8276c20;p=sfa.git in sfa_loger_goes_to_import() _logger should be _the_logger --- diff --git a/sfa/util/sfalogging.py b/sfa/util/sfalogging.py index 9d43d91d..422ef461 100755 --- a/sfa/util/sfalogging.py +++ b/sfa/util/sfalogging.py @@ -106,7 +106,7 @@ def sfa_logger_goes_to_console(): # clients would change the default by issuing one of these call def sfa_logger_goes_to_import(): current_module=sys.modules[globals()['__name__']] - current_module._logger=_import_logger + current_module._the_logger=_import_logger # this is how to retrieve the 'right' logger def sfa_logger():