[lxc-devel] [lxc/master] lxc-attach: add logging option to manpage

brauner on Github lxc-bot at linuxcontainers.org
Mon Apr 11 16:14:58 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160411/17cd36c4/attachment.bin>
-------------- next part --------------
From f43d63bc668a922efadc5a57b877734c9bd379db Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at mailbox.org>
Date: Mon, 11 Apr 2016 18:13:09 +0200
Subject: [PATCH] lxc-attach: add logging option to manpage

Signed-off-by: Christian Brauner <christian.brauner at mailbox.org>
---
 doc/lxc-attach.sgml.in | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/doc/lxc-attach.sgml.in b/doc/lxc-attach.sgml.in
index c1937d9..2b7203f 100644
--- a/doc/lxc-attach.sgml.in
+++ b/doc/lxc-attach.sgml.in
@@ -58,6 +58,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
       <arg choice="opt">--keep-env</arg>
       <arg choice="opt">--clear-env</arg>
       <arg choice="opt">-- <replaceable>command</replaceable></arg>
+      <arg choice="opt">-L <replaceable>file</replaceable></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
@@ -235,6 +236,22 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 	</listitem>
       </varlistentry>
 
+      <varlistentry>
+	<term>
+	  <option>-L, --pty-log <replaceable>file</replaceable></option>
+	</term>
+	<listitem>
+	  <para>
+	Specify a file where the output of <command>lxc-attach</command> will be
+	logged.
+	  </para>
+	  <para>
+	    <emphasis>Important:</emphasis>  When a standard file descriptor
+	    does not refer to a pty ouput produced on it will not be logged.
+	  </para>
+	</listitem>
+      </varlistentry>
+
      </variablelist>
 
   </refsect1>


More information about the lxc-devel mailing list