[Sugar-devel] [PATCH sugar-toolkit] Debug logs for default profile
Marco Pesenti Gritti
marco at marcopg.org
Tue Jun 7 08:04:47 EDT 2011
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 :)
> 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
More information about the Sugar-devel
mailing list