[PATCH] 467690 - log output from all programs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux