[oe-commits] [bitbake] 11/15: bitbake: worker: Remove unnecessary addDefaultLogFilter

git at git.openembedded.org git at git.openembedded.org
Wed Mar 11 14:44:14 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 23793c2c8fa51d92ee1ed7407b866c71d4fbe125
Author: Joshua Watt <JPEWhacker at gmail.com>
AuthorDate: Mon Mar 9 11:33:49 2020 -0500

    bitbake: worker: Remove unnecessary addDefaultLogFilter
    
    Adding the default log filter here is unnecessary because there are no
    defined logging domains when it is called, which means it does no actual
    filtering.
    
    Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 bin/bitbake-worker | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bin/bitbake-worker b/bin/bitbake-worker
index fc28a34..97cc0fd 100755
--- a/bin/bitbake-worker
+++ b/bin/bitbake-worker
@@ -65,7 +65,6 @@ if 0:
     format_str = "%(levelname)s: %(message)s"
     conlogformat = bb.msg.BBLogFormatter(format_str)
     consolelog = logging.FileHandler(logfilename)
-    bb.msg.addDefaultlogFilter(consolelog)
     consolelog.setFormatter(conlogformat)
     logger.addHandler(consolelog)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list