Talk:OLPC Trial-2 Software Release Notes

From OLPC
Revision as of 16:47, 31 August 2007 by Arjs (talk | contribs) (Enabling logging)
Jump to navigation Jump to 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

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)