BugSquad/Get Logs: Difference between revisions
| Line 38: | Line 38: | ||
* Perform the minimal steps to reproduce the bug. | * Perform the minimal steps to reproduce the bug. | ||
* The relevant logs are stored in '~/.sugar/default/logs', (e.g, org.laptop.WebActivity-1.log for the log of the first Browse instance). | * The relevant logs are stored in '~/.sugar/default/logs', (e.g, org.laptop.WebActivity-1.log for the log of the first Browse instance). | ||
=== Using sugar-launch === | |||
To enable debug logging for one run of one specific activity, use sugar-launch in Terminal, to set the SUGAR_LOGGER_LEVEL environment variable and start the activity by bundle id: | |||
SUGAR_LOGGER_LEVEL=debug sugar-launch org.laptop.Chat | |||
=== Using the sugar-emulator === | === Using the sugar-emulator === | ||