generic-poky/bitbake/lib/bb/ui
Elliot Smith a0791c19db bitbake: toasterui: Create per-build logs
Rather than relying on bug 8411, which is conveniently creating
separate log files for each of our builds, create our own
log file for each build.

The log files are created in the same tmp directories that
bitbake users, but are timestamped to the millisecond to avoid
name collisions.

Each log file is opened on a ParseStarted event (for builds
triggered by Toaster) or BuildStarted event (for builds on the
command line: Toaster doesn't get the ParseStarted event
for command-line builds).

The log file is closed on the BuildCompleted event, or if the
build fails.

Because we start logging on ParseStarted for Toaster builds,
we're able to capture the "Build Configuration" section which
bitbake writes to output.

[YOCTO #8373]

(Bitbake rev: 7974203cd8bc66dff1fcc55f8723dedefaf72840)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-29 22:05:36 +00:00
..
crumbs bitbake: Fix default function parameter assignment to a list 2015-08-19 18:05:44 +01:00
icons bitbake: Add missing file that went out of sync 2013-06-12 13:13:21 +01:00
__init__.py Formatting cleanups 2010-07-02 15:41:32 +01:00
buildinfohelper.py bitbake: toasterui: Create per-build logs 2015-10-29 22:05:36 +00:00
depexp.py bitbake: depexp.py: Fix segfault if DISPLAY is not set 2015-02-16 09:09:43 +00:00
goggle.py bitbake: cooker: Rename confusing 'stop' state to 'forceshutdown' 2013-09-14 08:20:38 +01:00
hob.py bitbake: hob: Use BASEDATASTORE_TRACKING feature 2013-12-03 17:45:54 +00:00
knotty.py bitbake: bb/ui: Use getSetVariable command for BB_CONSOLELOG 2015-10-29 07:35:51 +00:00
ncurses.py bitbake: ui/ncurses: Update ncurses ui to accept configParams 2014-12-23 10:18:21 +00:00
puccho.py Rename the ui 'init' method to 'main' 2011-01-04 14:46:47 +00:00
toasterui.py bitbake: toasterui: Create per-build logs 2015-10-29 22:05:36 +00:00
uievent.py bitbake: uievent: catch and log exceptions in receiving events 2015-03-25 12:39:50 +00:00
uihelper.py bitbake: uihelper: Set update flag when start event encountered 2012-10-30 16:55:40 +00:00