Talk:OLPC Trial-2 Software Release Notes: Difference between revisions
Jump to navigation
Jump to search
(New page: How do you enable logging? (It seems it is turned off by default?) --~~~~) |
(Enabling logging) |
||
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) |
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) |
Revision as of 16:47, 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:
- 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)