Re: [Lxc-users] getting output from lxc-start?

2011-02-02 Thread Daniel Lezcano
On 02/02/2011 01:15 AM, Trent W. Buck wrote: > Daniel Lezcano writes: > >> On 02/01/2011 12:04 PM, Dean Mao wrote: >>> Hi, >>> >>> I've been messing around with trying to get the output of lxc-start into a >>> file some. I know that lxc-start produces a log file, as well as the >>> ability to fet

Re: [Lxc-users] getting output from lxc-start?

2011-02-01 Thread Dean Mao
Oh cool, I didn't know about lxc.console. I just tested it now, and it looks like it worked. Here's my output in /tmp/console.log: INIT: version 2.88 booting Using makefile-style concurrent boot in runlevel S. Activating swap...done. Cleaning up ifupdown Setting up networking Activating

Re: [Lxc-users] getting output from lxc-start?

2011-02-01 Thread Trent W. Buck
Dean Mao writes: > The log file produced by lxc-start doesn't really resemble the output > generated from the container boot. The output of container's /dev/console is emitted to stdout by default. You can direct it to a file in your .conf: lxc.console = /var/log/lxc/foo.console If that ou

Re: [Lxc-users] getting output from lxc-start?

2011-02-01 Thread Trent W. Buck
Daniel Lezcano writes: > On 02/01/2011 12:04 PM, Dean Mao wrote: >> Hi, >> >> I've been messing around with trying to get the output of lxc-start into a >> file some. I know that lxc-start produces a log file, as well as the >> ability to fetch the dmesg file directly from the container's log fi

Re: [Lxc-users] getting output from lxc-start?

2011-02-01 Thread Daniel Lezcano
On 02/01/2011 07:44 PM, Dean Mao wrote: > Is the log output the same as the console output? The last time I looked, > the information in the debug logs looked different compared to the boot > logs. The first one is generated by the guest while the second one is formatted by a logging framework e

Re: [Lxc-users] getting output from lxc-start?

2011-02-01 Thread Dean Mao
Is the log output the same as the console output? The last time I looked, the information in the debug logs looked different compared to the boot logs. I'll check out rc1. On Tue, Feb 1, 2011 at 5:54 AM, Daniel Lezcano wrote: > On 02/01/2011 12:04 PM, Dean Mao wrote: > >> Hi, >> >> I've been m

Re: [Lxc-users] getting output from lxc-start?

2011-02-01 Thread Daniel Lezcano
On 02/01/2011 12:04 PM, Dean Mao wrote: > Hi, > > I've been messing around with trying to get the output of lxc-start into a > file some. I know that lxc-start produces a log file, as well as the > ability to fetch the dmesg file directly from the container's log file > directory, but I was curiou

[Lxc-users] getting output from lxc-start?

2011-02-01 Thread Dean Mao
Hi, I've been messing around with trying to get the output of lxc-start into a file some. I know that lxc-start produces a log file, as well as the ability to fetch the dmesg file directly from the container's log file directory, but I was curious if it was possible to just run lxc-start in a noh