diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-03-09 11:33:49 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-13 11:29:23 +0000 |
commit | 64e7ee43769925492e35854ce4ee307e00c74844 (patch) | |
tree | 0955aa5d7de915c42066bdff45bc2abcd74e1780 /bitbake/bin | |
parent | 1c9874b9f3a7e3a748279c13e453d09827aab39c (diff) | |
download | poky-64e7ee43769925492e35854ce4ee307e00c74844.tar.gz |
bitbake: 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.
(Bitbake rev: dcdb8f2c14f09ce34d0a1facc33a441570912c05)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake-worker | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker index fc28a34d8a..97cc0fd60f 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker | |||
@@ -65,7 +65,6 @@ if 0: | |||
65 | format_str = "%(levelname)s: %(message)s" | 65 | format_str = "%(levelname)s: %(message)s" |
66 | conlogformat = bb.msg.BBLogFormatter(format_str) | 66 | conlogformat = bb.msg.BBLogFormatter(format_str) |
67 | consolelog = logging.FileHandler(logfilename) | 67 | consolelog = logging.FileHandler(logfilename) |
68 | bb.msg.addDefaultlogFilter(consolelog) | ||
69 | consolelog.setFormatter(conlogformat) | 68 | consolelog.setFormatter(conlogformat) |
70 | logger.addHandler(consolelog) | 69 | logger.addHandler(consolelog) |
71 | 70 | ||