generic-poky/bitbake/lib/bb
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
..
fetch2 bitbake: fetcher: svn: Add support for checkout to a custom path 2015-10-27 07:24:30 +00:00
parse bitbake: build: delete tasks thoroughly 2015-09-03 12:33:08 +01:00
pysh bitbake: lib: fix no newline at end of file 2014-07-04 09:28:36 +01:00
server bitbake: server/process: Handle SIGTERM more gracefully 2015-09-09 14:27:55 +01:00
tests bitbake: tests/fetch.py: Fix recursion failure in url mapping 2015-09-18 09:05:34 +01:00
ui bitbake: toasterui: Create per-build logs 2015-10-29 22:05:36 +00:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: bitbake/lib: Update version to 1.28.0 2015-10-01 15:17:53 +01:00
build.py bitbake: build/utils: Add BB_TASK_IONICE_LEVEL support 2015-10-29 07:35:52 +00:00
cache.py bitbake: cache: Handle spaces and colons in directory names for file-checksums 2015-09-18 09:05:31 +01:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: codeparser: Add repr() methods 2015-06-27 22:51:21 +01:00
command.py bitbake: command: Add getSetVariable command 2015-10-29 07:35:51 +00:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: cooker: Ensure BB_CONSOLE remains correct over server resets 2015-10-29 07:35:52 +00:00
cookerdata.py bitbake: cooker: preserve pre and post configs 2015-10-27 07:24:30 +00:00
daemonize.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
data.py bitbake: data_smart: Improve override history logging 2015-07-24 23:28:35 +01:00
data_smart.py bitbake: data_smart: Ensure OVERRIDES dependencies account for contains() 2015-09-18 15:14:04 +01:00
event.py bitbake: event/server: Add _uiready flag to handle missing error messages 2015-09-04 16:23:56 +01:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
main.py bitbake: cooker: preserve pre and post configs 2015-10-27 07:24:30 +00:00
methodpool.py bitbake: methodpool: Retire it, remove global method scope 2013-05-24 10:34:52 +01:00
monitordisk.py bitbake: monitordisk: don't log when not monitoring a filesystem for inodes 2014-09-29 12:08:48 +01:00
msg.py bitbake: Fix default function parameter assignment to a list 2015-08-19 18:05:44 +01:00
namedtuple_with_abc.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
persist_data.py bitbake: persist_data: Avoid fsync() calls 2014-05-03 11:24:48 +01:00
process.py bitbake: Fix default function parameter assignment to a list 2015-08-19 18:05:44 +01:00
providers.py bitbake: providers/runqueue/taskdata: Optimise logger.debug calls 2014-03-10 11:10:00 -07:00
runqueue.py bitbake: runqueue: Add handling of virtual/xxx provider mappings 2015-10-01 07:43:38 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: siggen: Make it clear why nostamp tasks signatures don't match 2015-10-01 07:43:38 +01:00
taskdata.py bitbake: taskdata: Add a function to return the virtual/ mapping data 2015-10-01 07:43:38 +01:00
tinfoil.py bitbake: tinfoil: remove logging handler at shutdown 2015-09-23 22:44:56 +01:00
utils.py bitbake: build/utils: Add BB_TASK_IONICE_LEVEL support 2015-10-29 07:35:52 +00:00