[lxc-devel] [PATCH 1/1] add lxc.console.logpath

Serge Hallyn serge.hallyn at ubuntu.com
Wed Aug 6 22:10:44 UTC 2014


Quoting Stéphane Graber (stgraber at ubuntu.com):
> On Wed, Aug 06, 2014 at 05:30:58PM +0000, Serge Hallyn wrote:
> > Some time ago, lxc.console was changed to require a device.  lxc-start
> > gained an lxc console logfile argument, but this was not supported
> > through the container config.
> > 
> > This patch adds the option through container config as 'lxc.console.logfile'.
> > This allows for instance cloud providers to configure all containers to
> > log the consoles.
> > 
> 
> The patch seems incomplete to me, you're missing clear_config_item,
> get_config_item and save_config support at least.

Yeah - though we don't need save_config for it.


More information about the lxc-devel mailing list