[16:55] <schmelzs> hi
[16:56] <schmelzs> is there a way to log the debug output of upstart to a file
[16:57] <schmelzs> i tried to use a wrapper script to start the upstart init, but had problems cause upstart wasn't pid 1 anymore
[16:57] <schmelzs> starting bootlogd didn't work either and the "normal" rsyslogd just get's the last messages
[16:57] <sadmac2> schmelzs: the wrapper script should redirect its own stdout to a file, then exec init
[16:59] <schmelzs> sadmac2: the wrapper script didn't work at all - it failed with some messages about wrong parameters ..
[17:00] <schmelzs> i started it with  -v --debug $@
[17:00] <sadmac2> hmm
[17:00] <schmelzs> it looked like the init binary acts different if it hasn't pid 1
[17:01] <sadmac2> schmelzs: yes. let it have pid one
[17:01] <sadmac2> schmelzs: that's why I said /exec/ it
[17:02] <schmelzs> ahh ok :)
[17:02] <schmelzs> i'll try that - thanks
[17:03] <sadmac2> exec 1>&-
[17:03] <sadmac2> exec 2>&-
[17:03] <sadmac2> exec 1>/tmp/file
[17:03] <sadmac2> exec 2>/tmp/file
[17:03] <Keybuk> use /dev/klog instead of /tmp/file ;-)
[17:03] <Keybuk> then you can use netconsole
[17:03] <sadmac2> exec /sbin/init -v --verbose
[17:04] <Keybuk> err, /dev/kmsg
[17:07] <schmelzs> netconsole looks nice :)