Line 3: |
Line 3: |
| 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/GetLogs]], 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/GetLogs]], see that page first. |
| | | |
− | * [http://wiki.laptop.org/go/Olpc-utils#.2Fhome.2Folpc.2F.xsession Enable your <tt>/home/olpc/.xsession</tt> file] | + | * Enable your <tt>~/.xsession</tt> file] |
− | cp /home/olpc/.xsession-example /home/olpc/.xsession | + | cp ~/.xsession-example ~/.xsession |
| * Edit .xsession and uncomment the lines about GABBLE_DEBUG, GABBLE_LOGFILE, SALUT_DEBUG, SALUT_LOGFILE and PRESENCESERVICE_DEBUG by removing the initial '#' character | | * Edit .xsession 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 |
| | | |
− | Telepathy log files are now available at <tt>/home/olpc/.sugar/default/logs/telepathy-gabble.log</tt> and <tt>/home/olpc/.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> . |
| Be sure to attach these files if you submit a ticket about a Telepathy issue. | | Be sure to attach these files if you submit a ticket about a Telepathy issue. |
| | | |
Line 24: |
Line 24: |
| kernel.core_pattern = /tmp/core-%p-%e | | kernel.core_pattern = /tmp/core-%p-%e |
| | | |
− | * Add the following line to <tt>/home/olpc/.xsession</tt>: | + | * Add the following line to <tt>~/.xsession</tt>: |
| | | |
| ulimit -c unlimited | | ulimit -c unlimited |