I tried multiple things: c.set_config_item("lxc.loglevel", "1") c.set_config_item("lxc.loglevel", "9") c.set_config_item("lxc.loglevel", "debug")
And I always get: lxc: invalid log priority 9 Without those, setting in the lxc config: lxc.logfile = /tmp/foo lxc.loglevel = debug it creates an empty /tmp/foo file, but no content at all, even if it errored out. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1181136 Title: Empty log file when a container is started with the API To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1181136/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs