Skip to contentSkip to conversation

ui/teamcity: don't use removed logging classes

PATCH New Chris Laplante 1 participant 1 message Jul 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ui/teamcity: don't use removed logging classes

Allows the TeamCity frontend to be used again.

---
This is an immediate term fix to at least let the frontend work again. I will be adding a test suite and doing other improvements in the near future.

 lib/bb/ui/teamcity.py | 2 --
 1 file changed, 2 deletions(-)
lib/bb/ui/teamcity.py +0 -2
index 1854292f..fca46c28 100644
@@ -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):

--
2.27.0