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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to