]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/utils/qemurunner: fix logging
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 27 Jul 2015 13:03:58 +0000 (14:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Sep 2015 20:30:28 +0000 (21:30 +0100)
commit144c6a2d711f7cf4dafc22999ed8cf4cdb329dfc
tree6fb4eb5fd50be7d618006eac0912ff4280144819
parentc3c87fa26fec8c6e620ad2f1ce95b989f8c108ed
oeqa/utils/qemurunner: fix logging

OE-Core commit 519e381278d40bdac79add340e4c0460a9f97e17 unfortunately
broke logging in two different ways:

1) it prevented logging to the task log from working within bitbake
   -c testimage. This is due to the logger object being set up too early
   which interferes with BitBake's own logging. If we prefix the name
   with "BitBake." everything works (and we don't need to set the
   logging level).

2) Additionally because it called the log functions on the logging
   module and not the logger object it set up, this caused the
   oe-selftest logging to start printing everything from that point
   forward.

Fix these two issues and return us to the desired behaviour for
do_testimage.

(From OE-Core rev: 429b1971be06d5146bb1c14f4697966cddab3b33)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/utils/qemurunner.py