Talk:OLPC Trial-2 Software Release Notes: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Enabling logging)
No edit summary
Line 5: Line 5:
* To turn on various activity logs:
* To turn on various activity logs:
# 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)
# 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)
# in ~/.sugar.debug, add
# in ~/.sugar.debug, add these lines -



export JOURNAL_DEBUG=yes (to enable Journal Logs)
export JOURNAL_DEBUG=yes (to enable Journal Logs)
Line 13: Line 14:
export ACTIVITYNAME_DEBUG=yes (to enable activity Logs where ACTIVITYNAME is that given in activity.info file)
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)
export SUGAR_EMULATOR=yes (this shows me logs of all activities without having to enable logging for each activity) --[[User:Arjs|Arjs]] 12:48, 31 August 2007 (EDT)

Revision as of 16:48, 31 August 2007

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)