Where is debug log stored?


I’m having trouble with the film media scraper missing content and I was advised to use the debug log to diagnose the issue. However after enabling it I’m struggling to find it.
The Kodi debug log uploader complains it’s >1MB and I can’t find it under the SMB share as per the Kodi wiki as none of the various file locations are visible there.
I don’t really want to post big log files as per How to post debug logs, just view them locally.

Where is it stored please?

E2A: I understand now that it’s under storage/.kodi/temp/kodi.log but how do I view this remotely as it’s not visible via the SMB share?

You can use WinSCP or another similar utility.

Or just copy logfile to your desired folder.

For example copy kodi.log to backup folder on samba

cp /storage/.kodi/temp/kodi.log /storage/backup

In case anyone else is struggling with this, WinSCP doesn’t show hidden files/folders by default.

From WinSCP docs:
Options >> Preferences >> Panels
Select the “Show hidden files” option under the common settings and click the “OK” button.
Alternatively, you can the keyboard shortcut: Ctrl + Alt + H