LXD Log using SNAP 3.3

I’m guessing I am just missing something here but my LXD log file is not growing. Through a few different posts I reasoned that the log file belongs here /var/log/lxd/lxd.log but I did not have the path generated for me. After creating the path I was able to get the following 4 lines

e[31mERORe[0m[07-27|17:36:06] Failed to start the daemon: LXD is already running
e[32mINFOe[0m[07-27|17:36:06] Starting shutdown sequence
e[32mINFOe[0m[07-27|17:36:06] Saving simplestreams cache
e[32mINFOe[0m[07-27|17:36:06] Saved simplestreams cache

But since then nothing.

I found a post on here that highlighted a way to enable debug in the SNAP version

snap set lxd daemon.debug=true
systemctl reload snap.lxd.daemon

I deleted the log folder from above since I had manually created it thinking that the above two commands would bring it back, but they didn’t so now I am back to having no log.

Any help would be appreciated.
Thanks,
Chris

The snap does not log in /var/log/lxd, it logs in /var/snap/lxd/common/lxd/logs/

2 Likes

thank you!

1 Like