From c1ba299673d507110992aea5ef56c6db5f2536d9 Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Fri, 27 Jan 2012 18:47:29 +0000 Subject: better way to log --- (limited to 'wordsactivity.py') 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. -- cgit v0.9.1