Lxc\lxd debug log enable

Hi! I want to see what’s doing lxc when i create image or something

How to enable debug mode, if lxc in prod server?

If i restart lxc service, what happening with my running containers?

You can just run lxc monitor --type=logging --pretty which will show you the server debug output even when the server isn’t itself started in debug mode.