[oe-commits] [bitbake] branch master-next updated: Add logging to figure out server failure
git at git.openembedded.org
git at git.openembedded.org
Tue Nov 12 23:22:35 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
The following commit(s) were added to refs/heads/master-next by this push:
new 0dbc474 Add logging to figure out server failure
0dbc474 is described below
commit 0dbc474d53746d18928bceaec9146fc2071bc6c4
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Mon Nov 11 16:45:57 2019 +1300
Add logging to figure out server failure
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/server/process.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 69aae62..1c4a6b3 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -371,6 +371,12 @@ class BitBakeServer(object):
def __init__(self, lock, sockname, configuration, featureset):
+ fh = logging.FileHandler('testout.log')
+ fh.setLevel(logging.DEBUG)
+ formatter = logging.Formatter('%(levelname)s - %(process)d - %(message)s')
+ fh.setFormatter(formatter)
+ logger.addHandler(fh)
+
self.configuration = configuration
self.featureset = featureset
self.sockname = sockname
@@ -401,6 +407,8 @@ class BitBakeServer(object):
self.bitbake_lock.close()
os.close(self.readypipein)
+ bb.note('### ARGV = %s' % sys.argv)
+
ready = ConnectionReader(self.readypipe)
r = ready.poll(5)
if not r:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list