@@ -0,0 +1,810 @@
+package fr.treeptik.cloudunit.functions;%0A%0Aimport fr.treeptik.cloudunit.dto.LogLine;%0A%0Aimport java.util.Comparator;%0Aimport java.util.List;%0Aimport java.util.function.BiFunction;%0Aimport java.util.stream.Collectors;%0A%0A/**%0A * Created by nicolas on 18/01/2016.%0A */%0Apublic class LogsFilter %7B%0A%0A    public static BiFunction%3CString, List%3CLogLine%3E, List%3CLogLine%3E%3E bySource =%0A            (source, messages) -%3E messages.stream()%0A                    .filter(m -%3E source.equals(m.getSource()))%0A                    .collect(Collectors.toList());%0A%0A    public static BiFunction%3CString, List%3CLogLine%3E, List%3CLogLine%3E%3E byMessage =%0A            (pattern, messages) -%3E messages.stream()%0A                    .filter(m -%3E m.getMessage().toLowerCase().contains(pattern.toLowerCase()))%0A                    .collect(Collectors.toList());%0A%0A%7D%0A

Remove infinite testCase + introduce new log pattern inherited from Docker 1.9