Line 1: |
Line 1: |
| + | <noinclude>{{TOCright}} |
| + | [[Category:Testing]] |
| + | [[Category:BugSquad]] |
| + | [[Category:HowTo]] |
| + | </noinclude> |
| == Enabling debug logs for Telepathy == | | == Enabling debug logs for Telepathy == |
| | | |
| When there are certain kinds of problems with collaboration, it is useful to developers to have log files for debugging purposes. Here is how to enable these log files. If you haven't already seen [[BugSquad/Get Logs]], see that page first. | | When there are certain kinds of problems with collaboration, it is useful to developers to have log files for debugging purposes. Here is how to enable these log files. If you haven't already seen [[BugSquad/Get Logs]], see that page first. |
| | | |
− | * Edit ~/.sugar/debug and uncomment the lines about GABBLE_DEBUG, GABBLE_LOGFILE, SALUT_DEBUG, SALUT_LOGFILE and PRESENCESERVICE_DEBUG by removing the initial '#' character | + | * Edit the ~/.sugar/debug file (default version shown below in the gray box) and uncomment the lines about GABBLE_DEBUG, GABBLE_LOGFILE, SALUT_DEBUG, SALUT_LOGFILE and PRESENCESERVICE_DEBUG by removing the initial '#' character |
| * For debugging lower level problems in the Telepathy connection managers, enable LM_DEBUG (for telepathy-gabble) or GIBBER_DEBUG (for telepathy-salut). Note that these will produce much bigger log files. | | * For debugging lower level problems in the Telepathy connection managers, enable LM_DEBUG (for telepathy-gabble) or GIBBER_DEBUG (for telepathy-salut). Note that these will produce much bigger log files. |
| * Reboot | | * Reboot |
| + | |
| + | <pre> |
| + | # Uncomment the following lines to turn on many sugar debugging |
| + | # log files and features |
| + | #export LM_DEBUG=net |
| + | #export GABBLE_DEBUG=all |
| + | #export GABBLE_LOGFILE=$HOME/.sugar/default/logs/telepathy-gabble.log |
| + | #export SALUT_DEBUG=all |
| + | #export SALUT_LOGFILE=$HOME/.sugar/default/logs/telepathy-salut.log |
| + | #export GIBBER_DEBUG=all |
| + | #export PRESENCESERVICE_DEBUG=1 |
| + | #export SUGAR_LOGGER_LEVEL=debug |
| + | |
| + | # Uncomment the following line to enable core dumps |
| + | #ulimit -c unlimited |
| + | </pre> |
| | | |
| Telepathy log files are now available at <tt>~/.sugar/default/logs/telepathy-gabble.log</tt> and <tt>~/.sugar/default/logs/telepathy-salut.log</tt> . | | Telepathy log files are now available at <tt>~/.sugar/default/logs/telepathy-gabble.log</tt> and <tt>~/.sugar/default/logs/telepathy-salut.log</tt> . |
Line 36: |
Line 57: |
| * invitation was sent but not received | | * invitation was sent but not received |
| * other sharing problems | | * other sharing problems |
− |
| |
− | [[Category:BugSquad]]
| |