|Troubleshooting||HOW-TO:Submit a bug report||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 XBMC/Kodi go into and click on "Install"
|2|| Turn debugging on:|
Inside of XBMC/Kodi go into and turn on . You will see some weird text pop up on the screen.
|3|| Restart XBMC/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 XBMC/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 XBMC/Kodi's home screen, go into , 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 (6 or more digits) incase the e-mail doesn't go through.
If you don't get the e-mail link, just use the URL http://xbmclogs.com/show.php?id=#### where "####" is your ID number from the popup window.
|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. If XBMC/Kodi had crashed during your log, be sure to include the URL for the "old log" file.
|8|| You're done|
You can turn off debugging now.
2 Removing passwords
| WARNING - Exposed passwords :|
If you are posting logs to the Internet for others to see: if you use passwords or login to an account in any add-ons then that password might be exposed in your log file. You won't want that hanging out on the internet! If this applies to you then you will want to manually open your log file in a text editor and replace any mention of your passwords before putting them online. This depends on the add-on, so if you see an add-on that exposes a password in the log, please inform the author of that add-on so that they can correct it.
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?)
3 If you cannot control XBMC/Kodi or if it crashes before you can complete these steps
If you cannot control XBMC/Kodi, such as a remote control not working, or if XBMC/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
4 An alternative way to manually copy the log files
5 More info
For more info about the debug log see Log file/Advanced.