summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/msg.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py
index 512ec1f5c1..c95a874beb 100644
--- a/bitbake/lib/bb/msg.py
+++ b/bitbake/lib/bb/msg.py
@@ -229,6 +229,7 @@ def logger_create(name, output=sys.stderr, level=logging.INFO, preserve_handlers
229 """Standalone logger creation function""" 229 """Standalone logger creation function"""
230 logger = logging.getLogger(name) 230 logger = logging.getLogger(name)
231 console = logging.StreamHandler(output) 231 console = logging.StreamHandler(output)
232 console.addFilter(bb.msg.LogFilterShowOnce())
232 format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s") 233 format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s")
233 if color == 'always' or (color == 'auto' and output.isatty()): 234 if color == 'always' or (color == 'auto' and output.isatty()):
234 format.enable_color() 235 format.enable_color()