Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2009-01-04 17:04:33 (GMT)
committer Simon Schampijer <simon@schampijer.de>2009-01-04 17:04:33 (GMT)
commit72a2d162fdaee8779b445ddcc0165222af34c9b5 (patch)
tree967ee6783f7df6c219c400281ca7af314a7321e1
parenta74fccde1b4bbc8a20fcf29b8df124e32f97723b (diff)
Don't print logs to tty instead of shell.log in the emulator
-rw-r--r--src/sugar/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/logger.py b/src/sugar/logger.py
index 26a7fe3..e62edc6 100644
--- a/src/sugar/logger.py
+++ b/src/sugar/logger.py
@@ -91,7 +91,7 @@ def start(log_filename=None):
if os.environ.has_key('SUGAR_LOGGER_LEVEL'):
set_level(os.environ['SUGAR_LOGGER_LEVEL'])
- if log_filename and not sys.stdin.isatty():
+ if log_filename:
try:
log_path = os.path.join(get_logs_dir(), log_filename + '.log')