diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-17 11:49:31 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-12-17 11:52:24 -0700 |
commit | dc5a5c39291ec223cd761dce59d29eee7316cb70 (patch) | |
tree | 3cba379c344de1a2239bff37b57ccee861bed795 /lib/bb/ui/knotty.py | |
parent | 71f8b122dc8477b12911ff7b145a42c4c97a118f (diff) | |
download | bitbake-dc5a5c39291ec223cd761dce59d29eee7316cb70.tar.gz |
Fix logging level names for post-server-ui-split
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/ui/knotty.py')
-rw-r--r-- | lib/bb/ui/knotty.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index 0b47136cb..29c71aef2 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -72,16 +72,6 @@ def main(server, eventHandler): helper = uihelper.BBUIHelper() - # Set up logging to stdout in our usual format - logging.addLevelName(logging.INFO, "NOTE") - logging.addLevelName(logging.CRITICAL, "ERROR") - - for level in xrange(logging.INFO - 1, logging.DEBUG + 1, -1): - logging.addLevelName(level, logging.getLevelName(logging.INFO)) - - for level in xrange(logging.DEBUG - 1, 0, -1): - logging.addLevelName(level, logging.getLevelName(logging.DEBUG)) - console = logging.StreamHandler(sys.stdout) format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s") console.setFormatter(format) |