Bug 221731

Summary: RFE: offer option of sending log output to stdout
Product: [Retired] Fedora Hosted Projects Reporter: David Cantrell <dcantrell>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dcantrell
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-27 18:41:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Cantrell 2007-01-07 00:30:19 UTC
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.

Comment 1 Clark Williams 2007-02-26 18:25:49 UTC
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?

Clark

Comment 2 David Cantrell 2007-03-02 15:54:35 UTC
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.

Comment 3 Clark Williams 2007-03-02 16:03:58 UTC
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.

Comment 4 Clark Williams 2008-03-07 22:07:51 UTC
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.