[bitbake-devel,dunfell,1.46,3/8] ui/teamcity: don't use removed logging classes

Submitted by Steve Sakoman on July 15, 2020, 2:26 p.m. | Patch ID: 174453

Details

Message ID cea130b238e874bae30e13b3242a00eaff7f853b.1594822992.git.steve@sakoman.com
State New
Headers show

Commit Message

Steve Sakoman July 15, 2020, 2:26 p.m.
From: Chris Laplante <mostthingsweb@gmail.com>

Allows the TeamCity frontend to be used again.

Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5477ba79fcad4a887808dd0df9cfe3554e2c17a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 lib/bb/ui/teamcity.py | 2 --
 1 file changed, 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/lib/bb/ui/teamcity.py b/lib/bb/ui/teamcity.py
index 1854292f..fca46c28 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):