]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/console.c
console: dump ringbuffer to disk on container exit
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 15 Feb 2018 17:55:58 +0000 (18:55 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 27 Feb 2018 20:38:31 +0000 (21:38 +0100)
commit39c6cdb771a4375fb6cd465fbdcd005ca217f059
treeec1c5671db33aa6c927b5ec664bf7fe0bc0f4e79
parent23e0d9af767dc78639cf9572c78be6c274e48b86
console: dump ringbuffer to disk on container exit

The console ringbuffer will be dumped to disk if the console log file is not
rotated and it's size is not unlimited. In the former two cases we will have
all data from the ringbuffer available anyway.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/console.c