Log file: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{mininav|[[Troubleshooting]]}}
{{mininav| [[Troubleshooting]] | [[HOW-TO:Submit a bug report]] }}


{{see also|Bug tracker|Troubleshooting|HOW-TO:Submit a bug report}}
__TOC__


At some point during your foray into XBMC, you will likely come up against a problem that isn't made 100% clear from errors in the GUI. This is where the log file comes into play. XBMC writes all sorts of useful stuff to its log, which is why it should be included with every bug/problem report.


== Tell me more ==
<section begin="intro" />At some point during your foray into Kodi, you will likely come up against a problem that isn't made 100% clear from errors in the GUI. This is where the log file comes into play. Kodi writes all sorts of useful stuff to its log, which is why it should be included with every bug/problem report.<section end="intro" />
<big>
* '''[[Log file/Easy]] -'''</big> Did someone send you to this page or ask for the ''debug log'', ''xbmc.log'', or ''log file''? You'll probably want to use this easy guide!




<big>
== Important Notes ==
* '''[[Log file/Advanced]] -'''</big> The original log file page with full technical explanation.
*{{Big|'''Do NOT post your logs directly in a forum. Always use a paste site like https://pastebin.com or https://paste.ubuntu.com . Post the link to your pasted log in the forum.''' Details are in the following pages.}}




<big>
*{{big|'''Provide ''FULL'' Logs only. No Partial logs or snippets.'''}} The only redactions should be personal information.
* '''[[Log file/File manager access]] -'''</big> How to access the log file using the [[file manager]].


* Be aware that the Logs are "Session Logs" only. The logs are written from Kodi startup to Kodi shutdown (or crash). The next time you start Kodi, the kodi.log is cleared, and a new log is created. The kodi.log that was there is renamed to kodi.old.log and the existing kodi.old.log is deleted. In effect you only ever have two logs available- the current one, and the previous one. Depending upon your situation and which of the following methods you use, be mindful of the following:
** If you have replicated the problem and are immediately using the Kodi LogUploader add-on, upload kodi.log
** If you are going to '''restart''' Kodi to use the uploader app, you need to upload kodi.old.log
** Before restarting, you can manually copy and paste the contents of the kodi.log to a pastebin site
== Basic Method ==
<big>* '''[[Log file/Easy]] -'''</big>
If Kodi is operational and you can still navigate through the menu system, use this method to create the Debugging Log.
== Advanced Method ==
<big>* '''[[Log file/Advanced]] -'''</big>
If your Kodi refuses to start, or crashes while attempting to start or while navigating the menu's, then use this method to create the Debugging Log.
{{updated|17}}
[[Category:Index]]
[[Category:Index]]
[[Category:XBMC Manual]]
[[Category:Manual]]
[[Category:Advanced topics]]
[[Category:Advanced topics]]
{{Frodo updated}}

Revision as of 12:24, 20 January 2018

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


At some point during your foray into Kodi, you will likely come up against a problem that isn't made 100% clear from errors in the GUI. This is where the log file comes into play. Kodi writes all sorts of useful stuff to its log, which is why it should be included with every bug/problem report.


Important Notes


  • Provide FULL Logs only. No Partial logs or snippets. The only redactions should be personal information.


  • Be aware that the Logs are "Session Logs" only. The logs are written from Kodi startup to Kodi shutdown (or crash). The next time you start Kodi, the kodi.log is cleared, and a new log is created. The kodi.log that was there is renamed to kodi.old.log and the existing kodi.old.log is deleted. In effect you only ever have two logs available- the current one, and the previous one. Depending upon your situation and which of the following methods you use, be mindful of the following:
    • If you have replicated the problem and are immediately using the Kodi LogUploader add-on, upload kodi.log
    • If you are going to restart Kodi to use the uploader app, you need to upload kodi.old.log
    • Before restarting, you can manually copy and paste the contents of the kodi.log to a pastebin site


Basic Method

* Log file/Easy - If Kodi is operational and you can still navigate through the menu system, use this method to create the Debugging Log.


Advanced Method

* Log file/Advanced - If your Kodi refuses to start, or crashes while attempting to start or while navigating the menu's, then use this method to create the Debugging Log.