Re: [Sugar-devel] [PATCH sugar-toolkit] Debug logs for default profile
On 06/07/2011 02:04 PM, Marco Pesenti Gritti wrote: On 7 June 2011 12:06, Simon Schampijersi...@schampijer.de wrote: The generic path foes nt work for the telepathy logs. As we Couple of typos there :) Fixed. 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' \ Maybe define PROFILE_PATH=$HOME/.sugar/$SUGAR_PROFILE/logs to avoid all the duplication. Tried that, but with the line continuation characters this gets really hard. Kept it for now, if someone has a simple idea, welcome...:) Pushed now, as the patch is really simple and helps me in fixing/debugging/testing collaboration. http://git.sugarlabs.org/sugar-toolkit/mainline/commit/7e61237c8fcfb83b6caefe04d628b7a3220d7d1e Regards, Simon ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH sugar-toolkit] Debug logs for default profile
On 06/07/2011 02:04 PM, Marco Pesenti Gritti wrote: On 7 June 2011 12:06, Simon Schampijersi...@schampijer.de wrote: The generic path foes nt work for the telepathy logs. As we Couple of typos there :) Yeah, too quick in typing :/ 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' \ Maybe define PROFILE_PATH=$HOME/.sugar/$SUGAR_PROFILE/logs to avoid all the duplication. Yes, sounds good. Thanks fr looking at this, Simon ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH sugar-toolkit] Debug logs for default profile
On 7 June 2011 12:06, Simon Schampijer si...@schampijer.de wrote: The generic path foes nt work for the telepathy logs. As we Couple of typos there :) 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' \ Maybe define PROFILE_PATH=$HOME/.sugar/$SUGAR_PROFILE/logs to avoid all the duplication. Marco ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel