Log file/Easy: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 24: Line 24:
|-
|-
! style="font-size:2.5em;" | 6
! style="font-size:2.5em;" | 6
| '''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 code incase the e-mail doesn't go through.
| '''Upload your debug log:'''
 
{{warning|the debug uploader add-on is currently broken. Use this as an alternative: '''[[Log file/File manager access]]'''}}
<!-- <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 code incase the e-mail doesn't go through.




Line 36: Line 39:
|-
|-
! style="font-size:2.5em;" | 7
! style="font-size:2.5em;" | 7
| '''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. If Kodi had crashed during your log, be sure to include the URL for the "old log" file. {{note|Never copy/paste the log file itself into a forum post. Just post the URL.}}
| '''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. If Kodi had crashed during your log, be sure to include the URL for the "old log" file. {{note|Never copy/paste the log file itself into a forum post. Just post the URL.}} -->
|-
|-
! style="font-size:2.5em;" | 8
! style="font-size:2.5em;" | 7
| '''You're done'''<br /> You can turn off debugging now.
| '''You're done'''<br /> You can turn off debugging now.
|}
|}

Revision as of 11:03, 7 August 2016

Home icon grey.png   ▶ Troubleshooting ▶ HOW-TO:Submit a bug report ▶ Log file ▶ Easy

Instructions

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 → Logging and turn on Enable debug logging. You will see some weird text pop up on the screen.

Note: Sometimes you might be asked to enable additional debug logging "components", which is an option in this same Settings/System/Debugging area. If you were not asked to enable anything extra, then don't worry about those additional settings.

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:
Stop hand.png the debug uploader add-on is currently broken. Use this as an alternative: Log file/File manager access
7 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. (or see Log file/Advanced#So what do I do with this thing?)

If you cannot control Kodi or if it crashes before you can complete these steps

If you cannot control Kodi, such as a remote control not working, or if Kodi crashes before you can upload a log with the log uploader add-on, or can otherwise have issues following these steps, then you will need to manually enable debug logging and manually paste/upload a log to a pastebin-type website.

For enabling logging see: Log file/Advanced#advancedsettings.xml

For manually locating the log file (xbmc.log or kodi.log) file see: Log file/Advanced#Location

Then finally, see Log file/Advanced#So what do I do with this thing? for how to paste it to a pastebin-type website

An alternative way to manually copy the log files

See: Log file/File manager access

More info

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