From 6b965fa98d857223396f71bf3c9eb01e33163082 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 3 Aug 2010 11:36:51 +0200 Subject: [PATCH] Add mission control env vars for debugging --- src/sugar/profile.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/sugar/profile.py b/src/sugar/profile.py index 3f93bbad..4ae2199f 100644 --- a/src/sugar/profile.py +++ b/src/sugar/profile.py @@ -184,12 +184,15 @@ class Profile(object): '# log files and features\n'\ '#export LM_DEBUG=net\n' \ '#export GABBLE_DEBUG=all\n' \ - '#export ' \ - 'GABBLE_LOGFILE=$HOME/.sugar/default/logs/telepathy-gabble.log\n' \ + '#export GABBLE_LOGFILE=' \ + '$HOME/.sugar/$SUGAR_PROFILE/logs/telepathy-gabble.log\n' \ '#export SALUT_DEBUG=all\n' \ - '#export ' \ - 'SALUT_LOGFILE=$HOME/.sugar/default/logs/telepathy-salut.log\n' \ + '#export SALUT_LOGFILE=' \ + '$HOME/.sugar/$SUGAR_PROFILE/logs/telepathy-salut.log\n' \ '#export GIBBER_DEBUG=all\n' \ + '#export MC_LOGFILE=' \ + '$HOME/.sugar/$SUGAR_PROFILE/logs/mission-control.log\n' \ + '#export MC_DEBUG=all\n' \ '#export PRESENCESERVICE_DEBUG=1\n' \ '#export SUGAR_LOGGER_LEVEL=debug\n\n' \ '# Uncomment the following line to enable core dumps\n' \