summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/tinfoil.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index 19b41be46c..c2ee707298 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -210,13 +210,17 @@ class TinfoilCookerAdapter:
210 210
211class Tinfoil: 211class Tinfoil:
212 212
213 def __init__(self, output=sys.stdout, tracking=False): 213 def __init__(self, output=sys.stdout, tracking=False, setup_logging=True):
214 self.logger = logging.getLogger('BitBake') 214 self.logger = logging.getLogger('BitBake')
215 self.config_data = None 215 self.config_data = None
216 self.cooker = None 216 self.cooker = None
217 self.tracking = tracking 217 self.tracking = tracking
218 self.ui_module = None 218 self.ui_module = None
219 self.server_connection = None 219 self.server_connection = None
220 if setup_logging:
221 # This is the *client-side* logger, nothing to do with
222 # logging messages from the server
223 bb.msg.logger_create('BitBake', output)
220 224
221 def __enter__(self): 225 def __enter__(self):
222 return self 226 return self