[bitbake-devel] [PATCH 1/8] bitbake: Unbuffer stdout for log files

Chris Larson clarson at kergoth.com
Tue Sep 18 00:46:04 UTC 2012


On Mon, Sep 17, 2012 at 3:43 PM, Jason Wessel
<jason.wessel at windriver.com> wrote:
> It is possible to lose critical log data when python exits in an
> unorderly fashion via segmentation fault or certain types of crashes.
> This is because the buffer characteristics are inherited from the top
> level stdout, which should be set to unbuffered, for the purpose of
> all the forked children.
>
> This pushes the buffering to the OS, instead of having python managing
> the buffers in its stream handler class.
>
> This change is also to provide the ability to tail logs written from
> processes in "real time" because they would be written in an orderly
> fashion depending upon the OS characteristics for the file I/O.
>
> (LOCAL REV ONLY: NOT UPSTREAM)
>
> Signed-off-by: Jason Wessel <jason.wessel at windriver.com>


I'm assuming you forgot to rebase -i and remove the LOCAL REV ONLY? :)
-- 
Christopher Larson




More information about the bitbake-devel mailing list