Hello, I’m looking for a way to enable persistent logging on my already deployed devices without having to manually connect to every one of them and create the
From Change in logging behaviour on Ubuntu Core I get that there was supposed to be a configurable option to toggle this behavior but I couldn’t find any documentation on what the name of this option is and judging from what I’ve been finding so far it doesn’t look like it was implemented yet.
To work around this I thought about writing my own configure hook and add it to my gadget snap in order have it create the folder automatically on the next update but now that I’ve done this, I don’t see how I can give permissions to it be able to actually create the folder at that location.
I’ve been going over the interfaces and I don’t see one that I can use to achieve this. Is this even achievable post-deploy without manual intervention? If not, are there any other options that don’t involve doing this in the prepare-device hook (I’m assuming there’s no way I can run it again on existing devices)?