diff options
author | Rafael Ortiz <rafael@activitycentral.com> | 2012-01-27 18:47:29 (GMT) |
---|---|---|
committer | Rafael Ortiz <rafael@activitycentral.com> | 2012-01-27 18:47:29 (GMT) |
commit | c1ba299673d507110992aea5ef56c6db5f2536d9 (patch) | |
tree | b297d3dc36e6ce2aeeeae547dec03d7ee66b3931 | |
parent | 493fc96314a08be19268e259ee2b6409b24c28ac (diff) |
better way to log
-rw-r--r-- | wordsactivity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wordsactivity.py b/wordsactivity.py index b8a6f7a..0bdfc5b 100644 --- a/wordsactivity.py +++ b/wordsactivity.py @@ -39,7 +39,7 @@ except ImportError: OLD_TOOLBARS = True # logging -logger = logging.getLogger('Words') +_logger = logging.getLogger('Words') class WordsActivity(activity.Activity): @@ -48,7 +48,7 @@ class WordsActivity(activity.Activity): def __init__(self, handle): """Set up the Words activity.""" super(WordsActivity, self).__init__(handle) - self._logger = logging.getLogger('words-activity') + self._logger = logging.getLogger('Init words-activity') # Instantiate a language model. # FIXME: We should ask the language model what langs it supports. |