Write supervisor logs to container /data directory


Has anyone found a way to configure services running in the host OS e.g. NetworkManager and ModemManager to write logs into the /data directory that is available to the container? These logs would be super useful for debugging.


Hey @sheng,

Is this in a dev or prod environment? The simplest way to debug host issues, is to provision a dev-os, you can do this my selecting the .dev variant when downloading an OS from the dashboard. You can then ssh into the host with resin-cli

resin local ssh --host

And view logs via journalctl:

journalctl -u NetworkManager