=== robbiew is now known as robbiew_ | ||
=== robbiew_ is now known as robbiew | ||
schmelzs | hi | 16:55 |
---|---|---|
schmelzs | is there a way to log the debug output of upstart to a file | 16:56 |
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:57 |
schmelzs | sadmac2: the wrapper script didn't work at all - it failed with some messages about wrong parameters .. | 16:59 |
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:00 |
sadmac2 | schmelzs: yes. let it have pid one | 17:01 |
sadmac2 | schmelzs: that's why I said /exec/ it | 17:01 |
schmelzs | ahh ok :) | 17:02 |
schmelzs | i'll try that - thanks | 17:02 |
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:03 |
Keybuk | err, /dev/kmsg | 17:04 |
schmelzs | netconsole looks nice :) | 17:07 |
=== rberger_ is now known as rberger | ||
=== rberger_ is now known as rberger | ||
=== robbiew is now known as robbiew_ |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!