Log file/Easy: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
|-
|-
! style="font-size:2.5em;" | 1
! style="font-size:2.5em;" | 1
| '''Download the Debug log uploader add-on:'''<br /> Inside of XBMC go into {{highlight|bordered=yes|Programs → Get more... → XBMC Log Uploader}} and click on "Install"
| '''Download the Debug log uploader add-on:'''<br /> Inside of {{kodi}} go into {{highlight|bordered=yes|Programs → Get more... → {{kodi}} Log Uploader}} and click on "Install"
|-
|-
! style="font-size:2.5em;" | 2
! style="font-size:2.5em;" | 2
| '''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.
| '''Turn debugging on:'''<br /> Inside of {{kodi}} 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
| '''Restart XBMC:'''<br /> so that the log file records important startup information.
| '''Restart {{kodi}}:'''<br /> so that the log file records important startup information.
|-
|-
! style="font-size:2.5em;" | 4
! style="font-size:2.5em;" | 4
| '''Reproduce whatever issue/bug you are reporting on.'''<br /> 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. If the issue doesn't require action (the problem happens when you open XBMC, etc) then go to the next step.
| '''Reproduce whatever issue/bug you are reporting on.'''<br /> 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. If the issue doesn't require action (the problem happens when you open {{kodi}}, etc) then go to the next step.
|-
|-
! style="font-size:2.5em;" | 5
! style="font-size:2.5em;" | 5
Line 21: Line 21:
|-
|-
! style="font-size:2.5em;" | 6
! style="font-size:2.5em;" | 6
| '''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". You might also want to note the log ID number (4-5 digits) incase the e-mail doesn't go through.
| '''Upload your debug log:'''<br /> From {{kodi}}'s home screen, go into {{highlight|bordered=yes|Programs → {{kodi}} 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". You might also want to note the log ID number (4-5 digits) incase the e-mail doesn't go through.




'''If XBMC crashes:'''<br /> Go into {{highlight|bordered=yes|Programs}} and just select the XBMC Log Uploader entry (don't enter it). Then bring up the context menu (press {{keypress|C}} on a keyboard or {{button|info}} on some remotes) and select "Add-on settings". Then uncheck "Always skip XBMC.old.log (log from previous run)". Now it will upload the debug log of when XBMC crashed (the previous run).
'''If {{kodi}} crashes:'''<br /> Go into {{highlight|bordered=yes|Programs}} and just select the Log Uploader entry (don't enter it). Then bring up the context menu (press {{keypress|C}} on a keyboard or {{button|info}} on some remotes) and select "Add-on settings". Then uncheck "Always skip XBMC.old.log (log from previous run)". Now it will upload the debug log of when {{kodi}} crashed (the previous run).
|-
|-
! style="font-size:2.5em;" | 7
! style="font-size:2.5em;" | 7

Revision as of 22:03, 14 November 2014

Home icon grey.png   ▶ Troubleshooting ▶ Log file ▶ Easy

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

1 Download the Debug log uploader add-on:
Inside of Kodi go into Programs → Get more... → Kodi Log Uploader and click on "Install"
2 Turn debugging on:
Inside of Kodi go into Settings → System → Debugging and turn on Enable debug logging. You will see some weird text pop up on the screen.
3 Restart Kodi:
so that the log file records important startup information.
4 Reproduce whatever issue/bug you are reporting on.
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. If the issue doesn't require action (the problem happens when you open Kodi, etc) then go to the next step.
5 If you use passwords or logins in add-ons:
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 Kodi's home screen, go into Programs → Kodi 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". You might also want to note the log ID number (4-5 digits) incase the e-mail doesn't go through.


If Kodi crashes:
Go into Programs and just select the Log Uploader entry (don't enter it). Then bring up the context menu (press C on a keyboard or info on some remotes) and select "Add-on settings". Then uncheck "Always skip XBMC.old.log (log from previous run)". Now it will upload the debug log of when Kodi crashed (the previous run).

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. Note: Never copy/paste the log file itself into a forum post. Just post the URL.
8 You're done
You can turn off debugging now.

Removing passwords

Template:Log file password warning

See Log file/Advanced#Location for how to locate the log file manually. Then just open that xbmc.log (or kodi.log) file in a text editor. If you do not see passwords in your log then you can keep using the instructions on this page for using the debug log uploader add-on. If you see passwords, remove them and then manually copy and paste the log onto a pastebin site, like http://xbmclogs.com or http://pastebin.com , and then give that URL to whoever you need to share your log with.

Alternative access

See: Log file/File manager access

More info

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