I actually know where log files are, they are in SNAP_COMMON/logs as I put them there. Usually this is fine and I can see logs.
My problem is that when I test changes in a snap service and install it on test server (no previous versions). Install process uncovers bugs and as a result install fails and also removes all the files for that app from SNAP_COMMON. Which is all good except that I cannot easily understand where is the bug by checking logs in SNAP_COMMON/logs as they are removed by snap failure cleanup (am I right?).
I actually have a workaround by sending logs to console which are sent to syslog and preserved even after snap cleanup.
But what will I do with a service which can only write logs to a file?