summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-24 12:28:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-02 09:55:51 +0100
commit28f080629b5151ffaedc6ea493063eb8480c3664 (patch)
tree034566476b18cb46212f175e6976bdcf72fa53ea /bitbake/lib/bb/cooker.py
parent75c8a5f5666481854232778f046cb30473ea6dc9 (diff)
downloadpoky-28f080629b5151ffaedc6ea493063eb8480c3664.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: b4117231bf070703b9375af4411bcd160e07fdae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 423c046f2173aaff3072dc3d0882d01b8a0b0212) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 730cdc56ff..000faf82f5 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -411,11 +411,6 @@ class BBCooker:
411 self.data.disableTracking() 411 self.data.disableTracking()
412 412
413 def parseConfiguration(self): 413 def parseConfiguration(self):
414 # Set log file verbosity
415 verboselogs = bb.utils.to_boolean(self.data.getVar("BB_VERBOSE_LOGS", False))
416 if verboselogs:
417 bb.msg.loggerVerboseLogs = True
418
419 # Change nice level if we're asked to 414 # Change nice level if we're asked to
420 nice = self.data.getVar("BB_NICE_LEVEL") 415 nice = self.data.getVar("BB_NICE_LEVEL")
421 if nice: 416 if nice: