diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/msg.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py index 8561826a6e..cab079e333 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/lib/bb/msg.py | |||
@@ -119,22 +119,6 @@ class BBLogFilter(object): | |||
119 | return True | 119 | return True |
120 | return False | 120 | return False |
121 | 121 | ||
122 | class BBLogFilterStdErr(BBLogFilter): | ||
123 | def filter(self, record): | ||
124 | if not BBLogFilter.filter(self, record): | ||
125 | return False | ||
126 | if record.levelno >= logging.ERROR: | ||
127 | return True | ||
128 | return False | ||
129 | |||
130 | class BBLogFilterStdOut(BBLogFilter): | ||
131 | def filter(self, record): | ||
132 | if not BBLogFilter.filter(self, record): | ||
133 | return False | ||
134 | if record.levelno < logging.ERROR: | ||
135 | return True | ||
136 | return False | ||
137 | |||
138 | class LogFilterGEQLevel(logging.Filter): | 122 | class LogFilterGEQLevel(logging.Filter): |
139 | def __init__(self, level): | 123 | def __init__(self, level): |
140 | self.strlevel = str(level) | 124 | self.strlevel = str(level) |