Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/sugar-shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell/sugar-shell')
-rwxr-xr-xshell/sugar-shell8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/sugar-shell b/shell/sugar-shell
index 0ecc4eb..9f1d3a2 100755
--- a/shell/sugar-shell
+++ b/shell/sugar-shell
@@ -26,13 +26,10 @@ import gtk
import gobject
import gst
-from sugar import logger
from sugar import env
+from sugar import logger
from sugar.profile import get_profile
-logger.cleanup()
-logger.start('shell')
-
sys.path.insert(0, env.get_shell_path())
from view.Shell import Shell
@@ -97,6 +94,9 @@ def _shell_started_cb():
def main():
gobject.idle_add(_shell_started_cb)
+ logger.setup_logs_dir()
+ logger.start('shell')
+
_save_session_info()
_start_matchbox()
_setup_translations()