[bitbake-devel] [PATCH 1/2] V2 Disk space monitoring
Chris Larson
clarson at kergoth.com
Tue Jan 10 19:54:31 UTC 2012
On Tue, Jan 10, 2012 at 10:51 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Tue, 2012-01-10 at 20:45 +0800, Robert Yang wrote:
>> * Problems:
>>
>> 1) The disk space monitor is running in a sub process of
>> bin/bitbake, so it can't use the same logger as bitbake(or I don't
>> know how to use it, I've tried to use the logger.warn('some
>> information'), but it would print nothing in the subprocess),
>> another solution maybe use an independent logger in the subprocess,
>> but it seems that it doesn't worth because of the two reasons:
>> a) The logger of bin/bitbake can't control the monitor's
>> independent logger
If the monitor spawns from the bitbake server process, then it can
send log messages to the standard bitbake UI process, and it wouldn't
need its own log handling.
--
Christopher Larson
More information about the bitbake-devel
mailing list