Log file in Kodi is a kodi.log file, located in temporary directory. Location of that directory depends on the platform, and even on the same platform it can differ. Locations can be discovered here: https://kodi.wiki/view/Log_file/Advanced#Location
First of all, log file, by default, contains only limited records, only errors or some notable actions, but, to understand the cause of an issue, we need full log. So we need to enable debugging in Kodi and in Elementum.
<?xml version="1.0" ?>
<advancedsettings>
<loglevel>2</loglevel>
<debug>
<extralogging>true</extralogging>
<showloginfo>false</showloginfo>
</debug>
</advancedsettings>
It will enable logging and hide onscreen information.
For Elementum: open addon settings, go to “Advanced” tab, set “Log level” to “Debug”
Now your Kodi records everything into the log file!
Elementum has few HTTP links which can give you more information about torrenting status, system information, some timers of common operations (which are way too useful for developers!):
To find proper link:
If your Elementum starts fine, so you can enter it, browse for something, then you can try this way, if not, please, browse for the Hard one.
There is bundled functionality to upload your /debug/bundle or /debug/all logs to pastebin services. All you need is to enter settings and start an upload:
Easy enough?!
Still not so hard, but, sadly, more manual and needs some effords, at least, for the first time. So you can follow the manual here: https://kodi.wiki/view/Log_file/Easy
Shortly, you can install log uploader plugin, and run it to get pastebin link of an uploaded log file. Or you can find your log location here: https://kodi.wiki/view/Log_file/Advanced#Location and use it manually.