After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 712785 - cerbero: Log step output in individual log files
cerbero: Log step output in individual log files
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: packages
git master
Other Linux
: Normal enhancement
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-21 06:00 UTC by Edward Hervey
Modified: 2014-06-22 15:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Log step output to individual files (5.59 KB, patch)
2013-11-21 06:00 UTC, Edward Hervey
committed Details | Review

Description Edward Hervey 2013-11-21 06:00:18 UTC
Currently the output of every recipe step (fetch, extract, compile,...) is outputted on stdout.

While this is useful for debugging/verifying all steps are being executed properly, they have the following downsides:
* too much information (you don't really know where exactly you are in the full process)
* if you want to log that information you need to log the full output
* you might want to only view such details later or only if something failed

The following patch solves this by logging each recipe step to log files.
Comment 1 Edward Hervey 2013-11-21 06:00:59 UTC
Created attachment 260407 [details] [review]
build: Log step output to individual files

Instead of outputting everything to stdout.

Files are located in ~/cerbero/logs/<platform>-<arch>/<recipe>-<step>.log

When a step fails, the output is dumped on stdout before closing, so
that users can still debug the issue.
Comment 2 Sebastian Dröge (slomo) 2013-11-29 15:49:29 UTC
Was pushed