diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/build.py | 4 | ||||
-rw-r--r-- | bitbake/lib/bb/msg.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 00304b4e62..8937f083a1 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -223,7 +223,7 @@ def exec_func_shell(function, d, runfile, cwd=None): | |||
223 | 223 | ||
224 | with open(runfile, 'w') as script: | 224 | with open(runfile, 'w') as script: |
225 | script.write('#!/bin/sh -e\n') | 225 | script.write('#!/bin/sh -e\n') |
226 | if bb.msg.loggerVerbose: | 226 | if bb.msg.loggerDefaultVerbose: |
227 | script.write("set -x\n") | 227 | script.write("set -x\n") |
228 | data.emit_func(function, script, d) | 228 | data.emit_func(function, script, d) |
229 | if cwd: | 229 | if cwd: |
@@ -234,7 +234,7 @@ def exec_func_shell(function, d, runfile, cwd=None): | |||
234 | 234 | ||
235 | cmd = runfile | 235 | cmd = runfile |
236 | 236 | ||
237 | if bb.msg.loggerVerbose: | 237 | if bb.msg.loggerDefaultVerbose: |
238 | logfile = LogTee(logger, sys.stdout) | 238 | logfile = LogTee(logger, sys.stdout) |
239 | else: | 239 | else: |
240 | logfile = sys.stdout | 240 | logfile = sys.stdout |
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py index b7ae761e4e..20d9bdd726 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/lib/bb/msg.py | |||
@@ -106,8 +106,8 @@ def init_msgconfig(verbose, debug, debug_domains = []): | |||
106 | """ | 106 | """ |
107 | Set default verbosity and debug levels config the logger | 107 | Set default verbosity and debug levels config the logger |
108 | """ | 108 | """ |
109 | bb.msg.loggerDebugLevel = debug | 109 | bb.msg.loggerDefaultDebugLevel = debug |
110 | bb.msg.loggerVerbose = verbose | 110 | bb.msg.loggerDefaultVerbose = verbose |
111 | bb.msg.loggerDefaultDomains = debug_domains | 111 | bb.msg.loggerDefaultDomains = debug_domains |
112 | 112 | ||
113 | def addDefaultlogFilter(handler): | 113 | def addDefaultlogFilter(handler): |