Log file/Easy: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<span style="font-size:2em;line-height:100%;">Someone has asked you for a debug log (aka log file, XBMC.log, etc). This is what they want you to do:</span>
<span style="font-size:2em;line-height:100%;">Someone has asked you for a debug log (aka log file, XBMC.log, etc). This is what they want you to do:</span>


{| class="wikitable"
{| class="wikitable" style="font-size:1.5em;line-height:150%;"
|-
|-
! style="font-size:2.5em;" | 1.
! style="font-size:2.5em;" | 1.
| <span style="font-size:1.5em;line-height:150%;">'''Download the Debug log uploader add-on:'''</span><br/> Inside of XBMC go into {{highlight|bordered=yes|Settings → Add-ons → Get add-ons → XBMC.org → Programs → XBMC Log Uploader}} and click on "Install"
| '''Download the Debug log uploader add-on:'''<br/> Inside of XBMC go into {{highlight|bordered=yes|Settings → Add-ons → Get add-ons → XBMC.org → Programs → XBMC Log Uploader}} and click on "Install"
|-
|-
! style="font-size:2.5em;" | 2.
! style="font-size:2.5em;" | 2.
| <span style="font-size:1.5em;line-height:150%;">'''Turn debugging on:'''</span><br/> Inside of XBMC go into {{highlight|bordered=yes|Settings → System → Debugging}} and turn on {{highlight|bordered=yes|Enable debug logging}}. You will see some weird text pop up on the screen.
| '''Turn debugging on:'''<br/> Inside of XBMC go into {{highlight|bordered=yes|Settings → System → Debugging}} and turn on {{highlight|bordered=yes|Enable debug logging}}. You will see some weird text pop up on the screen.
|-
|-
! style="font-size:2.5em;" | 3.
! style="font-size:2.5em;" | 3.
| <span style="font-size:1.5em;line-height:150%;">'''Restart XBMC:'''</span><br/> so that the log file records important startup information.
| '''Restart XBMC:'''<br/> so that the log file records important startup information.
|-
|-
! style="font-size:2.5em;" | 4.
! style="font-size:2.5em;" | 4.
| <span style="font-size:1.5em;line-height:150%;">'''Reproduce whatever issue/bug you are reporting on.'''</span><br/> If the issue doesn't require action (the problem happens when you open XBMC, etc) then go to the next step. If a bug happened when you played a movie, play a movie. If something weird popped up on the screen when you went into an add-on, go into that add-on. Etc.
| '''Reproduce whatever issue/bug you are reporting on.'''<br/> If the issue doesn't require action (the problem happens when you open XBMC, etc) then go to the next step. If a bug happened when you played a movie, play a movie. If something weird popped up on the screen when you went into an add-on, go into that add-on. Etc.
|-
|-
! style="font-size:2.5em;" | 5.
! style="font-size:2.5em;" | 5.
| <span style="font-size:1.5em;line-height:150%;">'''If you use passwords for your network file sharing:'''</span><br/> You will probably need to edit your log before you upload it. Don't use the rest of the steps here and instead see '''[[#Removing passwords|here]]''' for further instructions.  
| '''If you use passwords for your network file sharing:'''<br/> You will probably need to edit your log before you upload it. Don't use the rest of the steps here and instead see '''[[#Removing passwords|here]]''' for further instructions.  
|-
|-
! style="font-size:2.5em;" | 6.
! style="font-size:2.5em;" | 6.
| <span style="font-size:1.5em;line-height:150%;">'''Upload your debug log:'''</span><br/> From XBMC's home screen, go into {{highlight|bordered=yes|Programs → XBMC Log Uploader}}, enter your e-mail address (if you haven't used the add-on before) and press "Okay". Then it will ask you if you want to upload the debug log, press "Okay".
| '''Upload your debug log:'''<br/> From XBMC's home screen, go into {{highlight|bordered=yes|Programs → XBMC Log Uploader}}, enter your e-mail address (if you haven't used the add-on before) and press "Okay". Then it will ask you if you want to upload the debug log, press "Okay".
|-
|-
! style="font-size:2.5em;" | 7.
! style="font-size:2.5em;" | 7.
| <span style="font-size:1.5em;line-height:150%;">'''Copy the URL'''</span><br/> from the e-mail you get and paste it to the forum post or give it to whoever asked you for the debug log. Never copy/paste the log file itself into a forum post.
| '''Copy the URL'''<br/> from the e-mail you get and paste it to the forum post or give it to whoever asked you for the debug log. Never copy/paste the log file itself into a forum post.
|-
|-
! style="font-size:2.5em;" | 8.
! style="font-size:2.5em;" | 8.
| <span style="font-size:1.5em;line-height:150%;">'''You're done'''</span><br/> You can turn off debugging now.
| '''You're done'''<br/> You can turn off debugging now.
|}
|}



Revision as of 21:17, 25 March 2013

Someone has asked you for a debug log (aka log file, XBMC.log, etc). This is what they want you to do:

1. Download the Debug log uploader add-on:
Inside of XBMC go into Settings → Add-ons → Get add-ons → XBMC.org → Programs → XBMC Log Uploader and click on "Install"
2. Turn debugging on:
Inside of XBMC go into Settings → System → Debugging and turn on Enable debug logging. You will see some weird text pop up on the screen.
3. Restart XBMC:
so that the log file records important startup information.
4. Reproduce whatever issue/bug you are reporting on.
If the issue doesn't require action (the problem happens when you open XBMC, etc) then go to the next step. If a bug happened when you played a movie, play a movie. If something weird popped up on the screen when you went into an add-on, go into that add-on. Etc.
5. If you use passwords for your network file sharing:
You will probably need to edit your log before you upload it. Don't use the rest of the steps here and instead see here for further instructions.
6. Upload your debug log:
From XBMC's home screen, go into Programs → XBMC Log Uploader, enter your e-mail address (if you haven't used the add-on before) and press "Okay". Then it will ask you if you want to upload the debug log, press "Okay".
7. Copy the URL
from the e-mail you get and paste it to the forum post or give it to whoever asked you for the debug log. Never copy/paste the log file itself into a forum post.
8. You're done
You can turn off debugging now.


Removing passwords

Use these steps if you use sensitive passwords in your network shares:

This part isn't complete yet. If you use passwords for your network file shares, then you might have to remove them from the debug log. This might not be the case for most people using SMB/Windows file sharing, even if you are using a password, but you might want to check the log file just to be safe.


The basic gist is you have to manually copy your debug log file (see here for location) and use a find/replace text editing tool to remove your password with something like a bunch of asterisks. Then just manually paste that onto a new paste file on http://xbmclogs.com and copy that URL to the forum post you posting in.

More info

For more info about the debug log see Log file/Advanced.