lxc.console.size regulates the size of the console log file. This is intended
to replace lxc.console.buffer.logfile. The current semantics are:
- if lxc.console.size is not set:
- no limit is placed on the size of the log file
- if lxc.console.size is set:
- if lxc.console.rotate is set and the next write would exceed the limit:
- write as much as possible into the old log file
- rotate the log file
- write as much as posible into the new log file
- discard remaining bytes (scenario shouldn't be possible in normal
circumstances)
- if lxc.console.rotate is not set and the next write would exceed the limit:
- keep overwriting the current log file
To make the log file a mirror of the in-memory ringbuffer simply set:
lxc.console.buffer.size == lxc.console.size.
Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| api | Loading commit data... | |
| examples | Loading commit data... | |
| ja | Loading commit data... | |
| ko | Loading commit data... | |
| rootfs | Loading commit data... | |
| FAQ.txt | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| common_options.sgml.in | Loading commit data... | |
| lxc-attach.sgml.in | Loading commit data... | |
| lxc-autostart.sgml.in | Loading commit data... | |
| lxc-cgroup.sgml.in | Loading commit data... | |
| lxc-checkconfig.sgml.in | Loading commit data... | |
| lxc-checkpoint.sgml.in | Loading commit data... | |
| lxc-clone.sgml.in | Loading commit data... | |
| lxc-config.sgml.in | Loading commit data... | |
| lxc-console.sgml.in | Loading commit data... | |
| lxc-copy.sgml.in | Loading commit data... | |
| lxc-create.sgml.in | Loading commit data... | |
| lxc-destroy.sgml.in | Loading commit data... | |
| lxc-device.sgml.in | Loading commit data... | |
| lxc-execute.sgml.in | Loading commit data... | |
| lxc-freeze.sgml.in | Loading commit data... | |
| lxc-info.sgml.in | Loading commit data... | |
| lxc-ls.sgml.in | Loading commit data... | |
| lxc-monitor.sgml.in | Loading commit data... | |
| lxc-snapshot.sgml.in | Loading commit data... | |
| lxc-start-ephemeral.sgml.in | Loading commit data... | |
| lxc-start.sgml.in | Loading commit data... | |
| lxc-stop.sgml.in | Loading commit data... | |
| lxc-top.sgml.in | Loading commit data... | |
| lxc-unfreeze.sgml.in | Loading commit data... | |
| lxc-unshare.sgml.in | Loading commit data... | |
| lxc-update-config.sgml.in | Loading commit data... | |
| lxc-user-nic.sgml.in | Loading commit data... | |
| lxc-usernet.sgml.in | Loading commit data... | |
| lxc-usernsexec.sgml.in | Loading commit data... | |
| lxc-wait.sgml.in | Loading commit data... | |
| lxc.conf.sgml.in | Loading commit data... | |
| lxc.container.conf | Loading commit data... | |
| lxc.container.conf.sgml.in | Loading commit data... | |
| lxc.sgml.in | Loading commit data... | |
| lxc.system.conf | Loading commit data... | |
| lxc.system.conf.sgml.in | Loading commit data... | |
| see_also.sgml.in | Loading commit data... |