summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/bitbake-worker
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-24 12:28:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-25 18:14:53 +0100
commit4c94d36022727fa5b640b73b3f2bc82a58443a33 (patch)
tree58e5367bdc2a8c1dbf89789705d6f7b7aced0831 /bitbake/bin/bitbake-worker
parentb221b8a657888be605f6c31e6353b10b08a619e6 (diff)
downloadpoky-4c94d36022727fa5b640b73b3f2bc82a58443a33.tar.gz
bitbake: build/msg: Cleanup verbose option handling
The levels of indirection to set these verbose logging options is rather crazy. This attempts to turn things into two specific options with much more specific meanings. For now its all still controlled by the commandline verbose option and should funciton as previously, with the addition that the BB_VERBOSE_LOGS option can now be task specific. (Bitbake rev: 423c046f2173aaff3072dc3d0882d01b8a0b0212) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin/bitbake-worker')
-rwxr-xr-xbitbake/bin/bitbake-worker4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker
index 97cc0fd60f..9334f11fb8 100755
--- a/bitbake/bin/bitbake-worker
+++ b/bitbake/bin/bitbake-worker
@@ -413,9 +413,9 @@ class BitbakeWorker(object):
413 413
414 def handle_workerdata(self, data): 414 def handle_workerdata(self, data):
415 self.workerdata = pickle.loads(data) 415 self.workerdata = pickle.loads(data)
416 bb.build.verboseShellLogging = self.workerdata["build_verbose_shell"]
417 bb.build.verboseStdoutLogging = self.workerdata["build_verbose_stdout"]
416 bb.msg.loggerDefaultLogLevel = self.workerdata["logdefaultlevel"] 418 bb.msg.loggerDefaultLogLevel = self.workerdata["logdefaultlevel"]
417 bb.msg.loggerDefaultVerbose = self.workerdata["logdefaultverbose"]
418 bb.msg.loggerVerboseLogs = self.workerdata["logdefaultverboselogs"]
419 bb.msg.loggerDefaultDomains = self.workerdata["logdefaultdomain"] 419 bb.msg.loggerDefaultDomains = self.workerdata["logdefaultdomain"]
420 for mc in self.databuilder.mcdata: 420 for mc in self.databuilder.mcdata:
421 self.databuilder.mcdata[mc].setVar("PRSERV_HOST", self.workerdata["prhost"]) 421 self.databuilder.mcdata[mc].setVar("PRSERV_HOST", self.workerdata["prhost"])