summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/ui/knotty.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 01674169ec..9f51823912 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -119,6 +119,7 @@ def main(server, eventHandler, tf = TerminalFilter):
119 console.setFormatter(format) 119 console.setFormatter(format)
120 logger.addHandler(console) 120 logger.addHandler(console)
121 if consolelogfile: 121 if consolelogfile:
122 bb.utils.mkdirhier(os.path.dirname(consolelogfile))
122 consolelog = logging.FileHandler(consolelogfile) 123 consolelog = logging.FileHandler(consolelogfile)
123 bb.msg.addDefaultlogFilter(consolelog) 124 bb.msg.addDefaultlogFilter(consolelog)
124 consolelog.setFormatter(format) 125 consolelog.setFormatter(format)