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

From OLPC
Jump to navigation Jump to search
(Enabling logging)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Enabling logging ==

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

* 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)
# 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)

Latest revision as of 18:59, 31 August 2007