Changes

Jump to navigation Jump to search
204 bytes added ,  03:00, 18 September 2014
Line 18: Line 18:     
== Enabling Sugar debug logging ==
 
== Enabling Sugar debug logging ==
Starting with the 0.83 development release, we created the text file, ~/.sugar/debug (shown in the gray box below), which gets read at sugar startup. All the logging options are commented out by default. Use your editor of choice and remove the '#' before the line 'export SUGAR_LOGGER_LEVEL=debug' to enable 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

Navigation menu