} catch (final PatternSyntaxException e) {
Log.logException(e);
}
int level = 0;
int lc = 0;
<BUG>for (final String logLine : log) {
final String nextLogLine = logLine.trim();
</BUG>
if (filterMatcher != null) {
filterMatcher.reset(nextLogLine);

} catch (final PatternSyntaxException e) {
Log.logException(e);
}
int level = 0;
int lc = 0;
for (int i=0; i < log.length; i++) {
final String nextLogLine = log[i].trim();
if (filterMatcher != null) {
filterMatcher.reset(nextLogLine);
