[Sugar-devel] [PATCH sugar-toolkit] Debug logs for default profile

Simon Schampijer simon at schampijer.de
Tue Jun 7 07:06:24 EDT 2011


The generic path foes nt work for the telepathy logs. As we
have removed the support for different profiles it is ok
to just use the default path.
---
 src/sugar/profile.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/sugar/profile.py b/src/sugar/profile.py
index 8a76d2c..c1dffd7 100644
--- a/src/sugar/profile.py
+++ b/src/sugar/profile.py
@@ -196,14 +196,14 @@ class Profile(object):
             '#export LM_DEBUG=net\n' \
             '#export GABBLE_DEBUG=all\n' \
             '#export GABBLE_LOGFILE=' \
-            '$HOME/.sugar/$SUGAR_PROFILE/logs/telepathy-gabble.log\n' \
+            '$HOME/.sugar/default/logs/telepathy-gabble.log\n' \
             '#export SALUT_DEBUG=all\n' \
             '#export SALUT_LOGFILE=' \
-            '$HOME/.sugar/$SUGAR_PROFILE/logs/telepathy-salut.log\n' \
+            '$HOME/.sugar/default/logs/telepathy-salut.log\n' \
             '#export GIBBER_DEBUG=all\n' \
             '#export WOCKY_DEBUG=all\n' \
             '#export MC_LOGFILE=' \
-            '$HOME/.sugar/$SUGAR_PROFILE/logs/mission-control.log\n' \
+            '$HOME/.sugar/default/logs/mission-control.log\n' \
             '#export MC_DEBUG=all\n' \
             '#export PRESENCESERVICE_DEBUG=1\n' \
             '#export SUGAR_LOGGER_LEVEL=debug\n\n' \
-- 
1.7.4



More information about the Sugar-devel mailing list