OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 3/4] add initlog feature to manual page
[PATCH 3/4] add initlog feature to manual page [message #43546] Tue, 20 September 2011 05:17 Go to next message
dietmar is currently offline  dietmar
Messages: 54
Registered: March 2007
Member
From: Dietmar Maurer <dietmar@proxmox.com>


Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
---
man/ctid.conf.5 | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/man/ctid.conf.5 b/man/ctid.conf.5
index d3ec3d0..ecda4ae 100644
--- a/man/ctid.conf.5
+++ b/man/ctid.conf.5
@@ -30,6 +30,11 @@ Specifies whether this container will be started during system boot.
Default is \fBno\fR, meaning the container will not be started
if \fBONBOOT\fR parameter is omitted.
Corresponds to the \fB--onboot\fR option.
+.IP \fBINITLOG\fR="\fByes\fR|\fBno\fR"
+If enabled init output is logged to /var/log/init.log. An additional process started
+inside the container (init-logger) reads the output from init and writes it
+to /var/log/init.log.
+Corresponds to the \fB--initlog\fR option.
.IP \fBBOOTORDER\fR="\fInumber\fR"
Specifies the CT boot order priority. Corresponds to the
\fB--bootorder\fR option.
--
1.5.6.5
[PATCH 4/4] add INITLOG option to vz.conf [message #43549 is a reply to message #43546] Tue, 20 September 2011 05:17 Go to previous message
dietmar is currently offline  dietmar
Messages: 54
Registered: March 2007
Member
From: Dietmar Maurer <dietmar@proxmox.com>


Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
---
etc/vz.conf | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/etc/vz.conf b/etc/vz.conf
index 63e509a..7f4d857 100644
--- a/etc/vz.conf
+++ b/etc/vz.conf
@@ -10,6 +10,9 @@ LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0
VERBOSE=0

+## log output of init process to $VE_ROOT/var/log/init.log
+INITLOG=no
+
## Disk quota parameters
DISK_QUOTA=yes
VZFASTBOOT=no
--
1.5.6.5
Previous Topic: [PATCH 2/4] add the init-logger binary
Next Topic: [PATCH v5 1/8] Basic kernel memory functionality for the Memory Controller
Goto Forum:
  


Current Time: Tue Mar 19 06:02:33 GMT 2024

Total time taken to generate the page: 0.02378 seconds