BugSquad/Get Logs: Difference between revisions
| Line 18: | Line 18: | ||
== Enabling Sugar debug logging == | == Enabling Sugar debug logging == | ||
A shell script file ~/.sugar/debug is run when Sugar starts up. All environment variables exported by the file will be inherited by the Sugar shell and activity processes. | |||
From Sugar 0.83 to 0.98, the file is prepared with commented lines. From Sugar 0.102, the file must be created by you. Use your editor to add a line, or remove the '#' before the line, to ensure SUGAR_LOGGER_LEVEL is exported with the value ''debug'', like this: | |||
export SUGAR_LOGGER_LEVEL=debug | |||
From Sugar 0.83 to 0.98, the prepared file looks like this: | |||
<pre> | <pre> | ||
# Uncomment the following lines to turn on many sugar debugging | # Uncomment the following lines to turn on many sugar debugging | ||