]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cooker/knotty: Prefix parse logs with filename being parsed
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Apr 2016 13:29:27 +0000 (14:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Apr 2016 13:56:07 +0000 (14:56 +0100)
commit1af0ccaac81e182c4ca520037dda362d180e5605
treecee4ec60b108efa8166e36a2849b96581f317238
parent98a2c37e077b16e3bc8bb102bd18b293130d15a4
cooker/knotty: Prefix parse logs with filename being parsed

We now prefix log messages coming from worker task context with the
PF and task info, however parsing messages all have to be manually
prefixed which is ugly and error prone. This change modifies the log
handler filter so this happens automatically, meaning we don't have
to change every message to include that information. This makes error
messages longer but more usable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/cooker.py
lib/bb/ui/knotty.py