This (https://wiki.libreelec.tv/support/log-files#samba-smb):
QuoteIf Samba (SMB Sharing) is enabled you can collect the log file by accessing the Logfile folder over the network. This is a special folder. When you access the folder it triggers a task to collect the current Kodi log and system configuration, and package everything into a single zip file that can be copied back to your local machine or unpacked in the share.
doesn't work on my system. Instead, whenever I open smb://libreelec/logfiles a new folder ~/logfiles;createlog is created (but remains empty).
When I start createlog manually via SSH, log-2024-10-16-16.44.27.zip is created in ~/logfiles. So that seems to work.
I had the log running while opening the smb folder, but I can't find anything useful.