summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/build.py2
-rw-r--r--lib/bb/msg.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py
index 420e02e2a..70cc80943 100644
--- a/lib/bb/build.py
+++ b/lib/bb/build.py
@@ -236,7 +236,7 @@ def exec_func_shell(function, d, runfile, cwd=None):
if fakerootcmd:
cmd = [fakerootcmd, runfile]
- if bb.msg.loggerVerbose:
+ if bb.msg.loggerDefaultVerbose:
logfile = LogTee(logger, sys.stdout)
else:
logfile = sys.stdout
diff --git a/lib/bb/msg.py b/lib/bb/msg.py
index b7ae761e4..20d9bdd72 100644
--- a/lib/bb/msg.py
+++ b/lib/bb/msg.py
@@ -106,8 +106,8 @@ def init_msgconfig(verbose, debug, debug_domains = []):
"""
Set default verbosity and debug levels config the logger
"""
- bb.msg.loggerDebugLevel = debug
- bb.msg.loggerVerbose = verbose
+ bb.msg.loggerDefaultDebugLevel = debug
+ bb.msg.loggerDefaultVerbose = verbose
bb.msg.loggerDefaultDomains = debug_domains
def addDefaultlogFilter(handler):