[Sugar-devel] [PATCH sugar-toolkit] Debug logs for default profile
Simon Schampijer
simon at schampijer.de
Wed Jun 8 03:37:18 EDT 2011
On 06/07/2011 02:04 PM, Marco Pesenti Gritti wrote:
> On 7 June 2011 12:06, Simon Schampijer<simon at 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
More information about the Sugar-devel
mailing list