I talked with stgraber.
We have a couple options:
a.) if installed from snap, use
some path down /var/snap/lxd as a console log path
/var/snap/lxd/common/consoles (chmod 1777) or
/var/snap/lxd/common/lxd/logs/CONTAINER-NAME/console.log
b.) use console --show-log
this requires liblxc > 3.0.
We could put into place code that did 'a' when it needed to (util.which('lxc').startswith('/snap')) and used 'b' if it could.
I talked with stgraber. snap/lxd/ common/ consoles (chmod 1777) or snap/lxd/ common/ lxd/logs/ CONTAINER- NAME/console. log
We have a couple options:
a.) if installed from snap, use
some path down /var/snap/lxd as a console log path
/var/
/var/
b.) use console --show-log
this requires liblxc > 3.0.
We could put into place code that did 'a' when it needed to (util.which( 'lxc'). startswith( '/snap' )) and used 'b' if it could.