Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/speech.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-03-09 00:43:17 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-03-09 00:43:17 (GMT)
commit5d9a3f972013bb4b163f29cdc305e79b63a1fb30 (patch)
tree450d4127bf8f678309cf63723572c1ef6dde632d /speech.py
parent59e1141afcdad8fc01cd1b86988ca6d756a46a1e (diff)
Rename logger in new files
Diffstat (limited to 'speech.py')
-rw-r--r--speech.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/speech.py b/speech.py
index ff30975..d9b16d1 100644
--- a/speech.py
+++ b/speech.py
@@ -16,7 +16,7 @@
import logging
-logger = logging.getLogger('readetexts')
+_logger = logging.getLogger('read-etexts-activity')
supported = True
done = True
@@ -25,14 +25,14 @@ try:
import gst
gst.element_factory_make('espeak')
from speech_gst import *
- logger.info('use gst-plugins-espeak')
+ _logger.info('use gst-plugins-espeak')
except:
try:
from speech_dispatcher import *
- logger.info('use speech-dispatcher')
+ _logger.info('use speech-dispatcher')
except Exception, e:
supported = False
- logger.info('disable speech: %s' % e)
+ _logger.info('disable speech: %s' % e)
voice = None
pitch = PITCH_DEFAULT