Talk:OLPC Trial-2 Software Release Notes

From OLPC
Revision as of 12:48, 31 August 2007 by Arjs (talk | contribs)
Jump to: navigation, search

Enabling logging

How do you enable logging? (It seems it is turned off by default?) --Walter 12:57, 6 August 2007 (EDT)

  • To turn on various activity logs:
  1. edit ~/.xinitrc and uncomment the line that imports .sugar.debug (It is the second last line of the file and there are commented instructions over it in the file itself)
  2. in ~/.sugar.debug, add these lines -


export JOURNAL_DEBUG=yes (to enable Journal Logs)

export SHELL_DEBUG=yes (to enable Shell Logs)

export ACTIVITYNAME_DEBUG=yes (to enable activity Logs where ACTIVITYNAME is that given in activity.info file)

export SUGAR_EMULATOR=yes (this shows me logs of all activities without having to enable logging for each activity) --Arjs 12:48, 31 August 2007 (EDT)