How can I log messages from e.g. a configure hook and make them visible in when running snap logs?
not sure if it shows up in
snap logs but if you use something like
logger -t $SNAP_NAME "this is my message"
inside the hook, it should show up in your journal, tagged with the name of the snap.
That’s really helpful thanks!
No it doesn’t show up in
snap logs and that would be even better.