All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chris Laplante" <mostthingsweb@gmail.com>
To: bitbake-devel@lists.openembedded.org
Cc: Chris Laplante <mostthingsweb@gmail.com>
Subject: [PATCH] ui/teamcity: don't use removed logging classes
Date: Sun,  5 Jul 2020 15:21:18 -0400	[thread overview]
Message-ID: <20200705192118.7372-1-mostthingsweb@gmail.com> (raw)

Allows the TeamCity frontend to be used again.

Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
---
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(-)

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):
--
2.27.0


                 reply	other threads:[~2020-07-05 19:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200705192118.7372-1-mostthingsweb@gmail.com \
    --to=mostthingsweb@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.