How To Check Kodi's Log File Featured Image

We’ve all have seen the “One or more items failed to play. Check the log for details” error message. But where’s the log and how can i check it? In this guide we’ll show you how to find Kodi’s log file and what to do afterwards.

Checking the log file

Kodi’s log is a plain text file so you can open it with any text editor. If you are using Android you might need to use a File Explorer app, on some systems you might need to enable the view hidden files option.

Each OS use different paths to store Kodi’s files, you can find the path to the log file on the following list.

  • Windows Desktop: %APPDATA%\Kodi\kodi.log 
  • Windows Store%LOCALAPPDATA%\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\kodi.log
  • Linux$HOME/.kodi/kodi.log
  • Ubuntu: $HOME/.var/app/tv.kodi.Kodi/data/temp/kodi.log
  • macOS/Users/<user_name>/Library/Application Support/Kodi/kodi.log
  • Android<data | sdcard | storage>/Android/data/org.xbmc.kodi/files/.kodi/temp/kodi.log
  • iOS/private/var/mobile/Library/Preferences/Kodi/kodi.log
  • OpenELEC/storage/.kodi/kodi.log
  • OSMC: /home/osmc/.kodi/temp/kodi.log
  • XBian: /home/xbian/.kodi/temp/kodi.log

Each line in the log file describes an event, it contains data like the time of the event, the event’s severity level and a message describing the event.

There are different severity levels in the Kodi log, you need to focus on events of level WARNING and ERROR and read the event’s descriptions to identify the source of the problem.

Event descriptions usually show the name of the addon or the filename where the error originated. Here is an example of the log file showing an error caused by a corrupted file in the addon Covenant.

14:23:06.600 T:8816 NOTICE: Running the application…
14:23:06.600 T:8816 NOTICE: starting upnp client
14:23:06.607 T:5804 NOTICE: ES: Starting UDP Event server on port 9777
14:23:06.607 T:5804 NOTICE: UDP: Listening on port 9777 (ipv6 : true)
14:23:06.739 T:11556 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following error<–
– NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type ‘exceptions.ImportError’>
Error Contents: cannot import name None
Traceback (most recent call last):
File “C:\Users\pc\AppData\Roaming\Kodi\addons\plugin.video.covenant\covenant.py”, line 61, in <module>
from resources.lib.indexers import _Xq7mc31Gnv

Identifying the problematic addon is the most important part of this process, read a couple of lines around the error when looking for the cause.

Keep in mind that having lots of addons installed might make this process harder, if you are using a pre-loaded android box is highly advisable that you reinstall Kodi with just the addons you normally use.

What to do when there’s an error

There’s a big chance that someone else already had to deal with the same problem, try googling the error’s description with some relevant keywords like addon name, repository name or developer nickname.

Most addon developers have a way to communicate with their users like twitter, facebook, github or they have a specific thread on a forum, you’ll probably find this information in a readme file inside the addon’s folder or in the addon’s information screen on Kodi.

If you are planing on asking for help on forums, github or the other alternatives there are some things you’ll have to do first. It is very important to enable the debug logging option on Kodi, this will add extra information about Kodi’s status on the log file, the developers need this information to identify and fix the problem.

Open Kodi and select Settings (the cog icon) > System Settings > Logging tab and activate Enable debug logging. You’ll see some text on top of Kodi when debugging is enabled. enable debug logging on Kodi

Now that debug logging is enabled you need to restart Kodi and reproduce the error, this will generate a clean log file with the error description and its respective debugging information. Try going through the steps that lead you to the error.

Log files might contain identifiable information like your device’s username and hostname, some addons could expose your IP address or passwords used on said addons. It’s a good idea to edit all sensible information before sharing your log file.

When sharing your log file, it’s considered a good practice to use pastebin or a similar service to upload your file instead of pasting the file contents directly on a message. Try to describe the error as best as you can and include relevant information like OS and Kodi versions and also the addons you are using.

Troubleshooting Kodi addons is not an easy task, sometimes it’s better to just reinstall the addon, this will fix most of the problems and it’s usually the easiest solution.

There’s an excellent F.A.Q on r/Addons4Kodi’s wiki, it addresses the most common issues and you should definitely give it a look. The official Kodi forum doesn’t support unofficial streaming addons, don’t post questions about grey area addons on the official forum.

More Info:

How to check Kodi’s log file
Tagged on:         

63
Leave a Reply

avatar
49 Comment threads
14 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
55 Comment authors
johnvincentBubyJayKaicee92 Recent comment authors
Landa Jones
Landa Jones

My log came up to what appeared to be encryptions.

Patricia Scott
Patricia Scott

I don’t have Programs on my Kodi

Ryan
Ryan

Have you got a reply to that problem. Music box is giving me the exact problem

Carla
Carla

errorlog #184467440723272976000 non exsistant control, 18446744072290992584 can’t find window peripherals, can’t find windows fire stacking dialog. What di I do?

Michelle Stein
Michelle Stein

After any TV show or movie no matter what add on I use kodi fails. I can watch movie or TV show all the way threw. But soon after I stop it or is over few seconds I get the Kodi fail message and back to the home screen. How can I fix this from happening. Especially when your catching up on TV shows you had to scroll threw many pages or search for. No matter how I tried after it stops Kodi fails.

Ben
Ben

I have the same. I have no idea and i have looked online too. These android boxes just seem to be more of a hassle than they are worth. Either exodus shows up as no streams available after loading 97% of them and TV Turk Playlist just keeps saying error check logs. Might throw mine away and just get sky at least there are less issues than the XBMC boxes.

Toya
Toya

How do I fix error : exception: non-existent control 1?

Chris Reid
Chris Reid

I get constant messages coming on screen DVB VIEWER CLIENT LOST ARGUS CLIENT LOST what do they mean ?

Lindsey
Lindsey

Me to help please

Duckie2411
Duckie2411

My log is saying that Control 50 in window 10001 has been asked to focus, but cant. And then it continues with a bunch of warnings: static XFILE::*…etc…

barbara
barbara

my log is full of errors and warnings what do I do ?!

Barbetta Tina
Barbetta Tina

How do you fix it?

Linda
Linda

Barbara how did you correct your problem to fix errors and warnings on your log?

Deanna Kline
Deanna Kline

Mine says error: virtual book clmageloader do work – direct texture file loading failed for special://masterprofile/thumbnails. How do I fix this?

Bob
Bob

Installed the addon but it remains empty even after getting many “error check log file” messages.

Anyone?

Soul
Soul

Try clicking on show old for log

Teena
Teena

I have gone in to view log loads of errors have came up I don’t kow how to solve them please help

Emily
Emily

I need help… what do i do after i look at the file log???