Synology: How to have a logfile?

Happy that you found the solution already.

Please note that this might depend on where you installed the package from. SynoCommunity has been offering an SPK package which matches your description. Recently, @calmh introduced a different SPK supported by Kastelo which might work differently.

See also the thread New package for Synology NAS for details.