Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/logger.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar/logger.py')
-rw-r--r--sugar/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/logger.py b/sugar/logger.py
index de73d24..4fcc40d 100644
--- a/sugar/logger.py
+++ b/sugar/logger.py
@@ -104,7 +104,7 @@ def _get_logs_dir():
def start(module_id):
# Only log if logging is set up for the activity
- module_key = module_id.upper() + "_DEBUG"
+ module_key = module_id.replace('.', '_').upper() + "_DEBUG"
if not os.environ.has_key(module_key) and not env.is_emulator():
return