summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r--bitbake/lib/bb/ui/knotty.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index b9ad34f16a..cedbe42306 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -74,16 +74,6 @@ def main(server, eventHandler):
74 74
75 helper = uihelper.BBUIHelper() 75 helper = uihelper.BBUIHelper()
76 76
77 # Set up logging to stdout in our usual format
78 logging.addLevelName(logging.INFO, "NOTE")
79 logging.addLevelName(logging.CRITICAL, "FATAL")
80
81 for level in xrange(logging.INFO - 1, logging.DEBUG + 1, -1):
82 logging.addLevelName(level, logging.getLevelName(logging.INFO))
83
84 for level in xrange(logging.DEBUG - 1, 0, -1):
85 logging.addLevelName(level, logging.getLevelName(logging.DEBUG))
86
87 console = logging.StreamHandler(sys.stdout) 77 console = logging.StreamHandler(sys.stdout)
88 format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s") 78 format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s")
89 console.setFormatter(format) 79 console.setFormatter(format)