[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] 467690 - log output from all programs
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH] 467690 - log output from all programs
- Date: Tue, 6 Jan 2009 16:14:31 -0500
We have a problem of not logging the output of every command we run
somewhere useful. A lot of programs output to tty5, but that scrolls by
and is lost forever. It's also not available on the installed system.
This patch writes the output of execWithRedirect and execWithCapture to
/tmp/program.log and then copies it to /mnt/sysimage/var/log afterwards.
mount is also logged in this way, though I haven't been able to test it
quite yet.
I'd like to later kill the output to tty5 since we could just tail the
program.log if we really cared. If there are any other programs we're running
that don't use these execWith* functions, I'd like to convert them over later
instead of adding more output redirection.
Questions?
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]