Red Hat Bugzilla – Bug 221731
RFE: offer option of sending log output to stdout
Last modified: 2013-01-09 23:10:02 EST
The default output from a mock build is pretty short since almost everything is
sent to log files. I don't want to tail log files to watch a build. I'd rather
see the output on stdout. Please add an option to send output to stdout rather
than to log files.
I made a pass through the code a couple of versions back to find all the places
where mock can terminate due to a failed command and to print out the output of
that command before exiting. Do you want something beyond that?
What version are you using now?
What I would like is the ability to see the output of rpmbuild in the console as
if I were running rpmbuild locally. I'm not sure if this is even possible.
It would require a rework of the logging logic, but I'm getting some other
requests for this as well. I'll look at what it would take to add a --verbose
option that sends all logging output to stdout.
The great mock rewrite completely overhauled the mock logging infrastructure.
Please look at mock-0.9+ and see the changes in it meet your needs.