[oe-commits] [bitbake] 02/02: process: Flush key output to logs

git at git.openembedded.org git at git.openembedded.org
Sat Dec 1 17:44:27 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit f66ed971920d48cc6e71b3a0660568aa78abbd2a
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Dec 1 17:40:49 2018 +0000

    process: Flush key output to logs
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/server/process.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 947d0a2..a3767c5 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -464,6 +464,7 @@ class BitBakeServer(object):
             f.write("Here H %s\n" % os.getpid())
 
         print(self.start_log_format % (os.getpid(), datetime.datetime.now().strftime(self.start_log_datetime_format)))
+        sys.stdout.flush()
 
         with open(self.logfile + "A", 'a+') as f:
             f.write("Here I %s\n" % os.getpid())
@@ -492,6 +493,7 @@ class BitBakeServer(object):
         server.server_timeout = self.configuration.server_timeout
         server.xmlrpcinterface = self.configuration.xmlrpcinterface
         print("Started bitbake server pid %d" % os.getpid())
+        sys.stdout.flush()
         with open(self.logfile + "A", 'a+') as f:
             f.write("Here N %s\n" % os.getpid())
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list