Log file/File manager access: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
m (Updated for v19)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{mininav| [[Troubleshooting]] | [[HOW-TO:Submit a bug report]] | [[Log file]] }}
{{mininav| [[Troubleshooting]] | [[Log file]] }}


<section begin="intro" />This page describes how to use the Kodi internal '''[[File manager]]''' for locating and copying your [[log file]]. This is handy for situations like if the debug uploader add-on doesn't work, or if you need to manually access the logs but are using a non-desktop OS that doesn't have easy access to those files.<section end="intro" />
__toc__


__TOC__
= Introduction =
== Steps ==
<section begin="intro" />This page describes another method to access the '''''[[log file]]''''' using the Kodi '''''[[File manager]]'''''. This method can be used as the fallback option if the '''''[[Add-on:Kodi_Logfile_Uploader|Kodi Logfile Uploader]]''''' is not functioning on your installation. If you are using a desktop type operating system such as Windows, using the Kodi File Manager is not necessary as all files can be accessed through the file browser of the operating system.<section end="intro" />
<gallery widths="600px" heights="375px">
 
File:File manager.log file.01.png| {{large|'''Step 1:'''}} In Kodi's home screen, go to the '''[[File manager]]''' submenu of the '''Settings''' menu.
The File Manager is a remote control friendly interface that uses an A-B panel system. Files selected from Panel A can be copied into Panel B, for example. A full list of available functions is shown in the Context Menu image below.
File:File manager.log file.02.png| {{large|'''Step 2:'''}} This is the file manager. You can add sources just like any other [[media source]]. This is a remote control friendly interface that uses an A-B panel system. Files selected from Panel A can be copied into Panel B, for example.
 
File:File manager.log file.03.png| {{large|'''Step 3:'''}} On Panel A, Select '''Add source'''. Select where it says '''none''' rather than going into "browse".
Adding a Source here is the same process as adding a Source for Movies, TV Shows and Music. Sources added here will not show in the Media Sources page and vice-versa.
File:File manager.log file.04.png| {{large|'''Step 4:'''}} Type in, either using a keyboard or using the on-screen-keyboard, the following: '''<code>special://logpath</code>''' and then press '''Done'''.
 
File:File manager.log file.05.png| {{large|'''Step 5:'''}} You can rename the source if you want, or just go down and press '''OK''' to finish adding the logpath as a source.
When adding Sources, either panel can be used to Add Source as the newly added source will display in both panels. When adding the Source which you intend to transfer the Log File to, ensure that it is a location that is easily accessible. It can be network share, USB drive or other accessible location which will allow you to later browse and obtain the log from.
File:File manager.log file.06.png| {{large|'''Step 6:'''}} Now we want to add a location to save the log file to. Another [[media source]], such as a network file share, can be added here, or we can even just plug in a USB drive, which should automatically show up in the File manager. '''ADATAPRO''' in the screenshot is a USB flash drive for this example.
 
File:File manager.log file.07.png| {{large|'''Step 7:'''}} On Panel A: Open the '''logpath''' source. On Panel B: Open the source you added, either USB drive or other [[media source]] location. You can further navigate in Panel B to the exact folder you wish to copy the log file to.
 
File:File manager.log file.08.png| {{large|'''Step 8:'''}} Scroll down until you see '''kodi.log''' (currently running log) or '''kodi.old.log''' (log from the last time {{Name}} was open). Bring up the contextual menu ({{keypress|C}} on a keyboard or {{button|Menu}} on most remotes), and then select '''Copy'''.
 
File:File manager.log file.09.png| {{large|'''Step 9:'''}} Select '''Yes''' to confirm the copy. Remember, whatever is selected in Panel A is being copied to the location open in Panel B.
= Which Log do I choose =
File:File manager.log file.10.png| {{large|'''Step 10:'''}} The log file has now been copied to the other location. In this example, the easily accessible USB flash drive.
The {{kodi}} logs are ''Session Logs''. The logs are written from {{kodi}} startup to {{kodi}} shutdown (or crash). The next time you start {{kodi}}, the existing '''kodi.log''' is renamed '''Kodi.old.log''' and a new '''kodi.log''' is created for this new session. In effect you only ever have two logs available- the current one, and the previous one.
 
Which log you upload depends...
#If you have created the log which captures the problem and have '''not''' restarted {{kodi}}, then upload '''kodi.log'''
#If you have created the log which captures the problem and have '''restarted''' {{kodi}}, maybe because it crashed, then upload '''kodi.old.log'''
 
 
 
= Steps =
To gain access to the Logfile, follow these steps...
 
{{large|'''Step 1:'''}} Access the '''''[[File manager]]''''' from the '''''[[Settings]]''''' menu. '''''See: [[Basic controls]]'''''
 
 
<gallery mode="packed" widths="500px" heights="282px">
File:FileManager01.jpg| {{large|'''Step 2:'''}} This is the File Manager. In panel A or B, select '''Add source'''.
File:FileManager02.jpg| {{large|'''Step 3:'''}} Select '''None''' from the ''Add file source'' dialogue box.
File:FileManager03.jpg| {{large|'''Step 4:'''}} Type in '''<code>special://logpath</code>''' and then press '''Ok'''.
File:Filemanager04.jpg| {{large|'''Step 5:'''}} If required rename the Source. Press '''OK''' to add the logpath as a source. <br>'''Repeat the above steps''' to add the Source where the logfile will be transferrd to.
File:Filemanager05.jpg| {{large|'''Step 6:'''}} The above image shows the new ''Logpath'' and ''Documents'' sources added.
File:Filemanager06.jpg| {{large|'''Step 7:'''}} In Panel B: Open the receiving Source you added. <br>In Panel A: Open the '''logpath''' source and select the file(s) to be copied.
File:Filemanager07.jpg| {{large|'''Step 8:'''}} With the file highlighted call up the '''''[[Basic_controls#Context_Menu|Context Menu]]'''''. Select '''Copy'''.<br> '''Note:''' The option ''View as text'' allows viewing of the log on-screen.
File:Filemanager08.jpg| {{large|'''Step 9:'''}} Select '''Yes''' to confirm the copy.  
File:Filemanager09.jpg| {{large|'''Step 10:'''}} The log file has now been copied to the ''Documents'' source.
</gallery>
</gallery>


== Video guide ==
{{large|'''Step 11:'''}} The log should now be accessible outside {{kodi}}. Continue with the steps to upload the log as shown in '''''[[Log_file/Easy#Upload Log|Easy Method- Upload Log]]''''' or '''''[[Log_file/Advanced|Advanced Method- Upload Log]]'''''
;VIdeo tutorial version of the above how-to:
 
{{youtube|Avalw93uLoM}}
 
<center>{{resize|1.4em|'''End'''}}</center>
----
 




{{Updated|16}}
{{Top}}
{{updated|19}}


[[Category:Manual]]
[[Category:Karellen]]
[[Category:Troubleshooting]]
[[Category:Troubleshooting]]

Revision as of 02:15, 20 July 2021

Home icon grey.png   ▶ Troubleshooting ▶ Log file ▶ File manager access

Introduction

This page describes another method to access the log file using the Kodi File manager. This method can be used as the fallback option if the Kodi Logfile Uploader is not functioning on your installation. If you are using a desktop type operating system such as Windows, using the Kodi File Manager is not necessary as all files can be accessed through the file browser of the operating system.

The File Manager is a remote control friendly interface that uses an A-B panel system. Files selected from Panel A can be copied into Panel B, for example. A full list of available functions is shown in the Context Menu image below.

Adding a Source here is the same process as adding a Source for Movies, TV Shows and Music. Sources added here will not show in the Media Sources page and vice-versa.

When adding Sources, either panel can be used to Add Source as the newly added source will display in both panels. When adding the Source which you intend to transfer the Log File to, ensure that it is a location that is easily accessible. It can be network share, USB drive or other accessible location which will allow you to later browse and obtain the log from.


Which Log do I choose

The Kodi logs are Session Logs. The logs are written from Kodi startup to Kodi shutdown (or crash). The next time you start Kodi, the existing kodi.log is renamed Kodi.old.log and a new kodi.log is created for this new session. In effect you only ever have two logs available- the current one, and the previous one.

Which log you upload depends...

  1. If you have created the log which captures the problem and have not restarted Kodi, then upload kodi.log
  2. If you have created the log which captures the problem and have restarted Kodi, maybe because it crashed, then upload kodi.old.log


Steps

To gain access to the Logfile, follow these steps...

Step 1: Access the File manager from the Settings menu. See: Basic controls


Step 11: The log should now be accessible outside Kodi. Continue with the steps to upload the log as shown in Easy Method- Upload Log or Advanced Method- Upload Log


End


Return to top