|
|
@ -164,10 +164,7 @@ public class LogUtils { |
|
|
|
} |
|
|
|
} |
|
|
|
Set<String> appIds = new HashSet<>(); |
|
|
|
Set<String> appIds = new HashSet<>(); |
|
|
|
try (Stream<String> stream = Files.lines(Paths.get(logPath))) { |
|
|
|
try (Stream<String> stream = Files.lines(Paths.get(logPath))) { |
|
|
|
stream.filter(line -> { |
|
|
|
stream.forEach(line -> { |
|
|
|
Matcher matcher = APPLICATION_REGEX.matcher(line); |
|
|
|
|
|
|
|
return matcher.find(); |
|
|
|
|
|
|
|
}).forEach(line -> { |
|
|
|
|
|
|
|
Matcher matcher = APPLICATION_REGEX.matcher(line); |
|
|
|
Matcher matcher = APPLICATION_REGEX.matcher(line); |
|
|
|
if (matcher.find()) { |
|
|
|
if (matcher.find()) { |
|
|
|
String appId = matcher.group(); |
|
|
|
String appId = matcher.group(); |
|
|
|