From cea130b238e874bae30e13b3242a00eaff7f853b Mon Sep 17 00:00:00 2001 From: Chris Laplante Date: Sun, 5 Jul 2020 15:21:18 -0400 Subject: ui/teamcity: don't use removed logging classes Allows the TeamCity frontend to be used again. Signed-off-by: Chris Laplante Signed-off-by: Richard Purdie (cherry picked from commit c5477ba79fcad4a887808dd0df9cfe3554e2c17a) Signed-off-by: Steve Sakoman --- lib/bb/ui/teamcity.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/bb/ui/teamcity.py b/lib/bb/ui/teamcity.py index 1854292fa..fca46c287 100644 --- a/lib/bb/ui/teamcity.py +++ b/lib/bb/ui/teamcity.py @@ -167,8 +167,6 @@ def main(server, eventHandler, params): forcelevel = bb.msg.BBLogFormatter.ERROR else: forcelevel = bb.msg.BBLogFormatter.WARNING - bb.msg.addDefaultlogFilter(console, bb.msg.BBLogFilterStdOut, forcelevel) - bb.msg.addDefaultlogFilter(errconsole, bb.msg.BBLogFilterStdErr) console.setFormatter(format) errconsole.setFormatter(format) if not bb.msg.has_console_handler(logger): -- cgit 1.2.3-korg