LogEventFilter (@NotNull LogEventFilter base, @NotNull EventLogBuildType type) { LogEventFilter filter = super.getEventFilter(base, type); if (filter instanceof LogEventCompositeFilter) { LogEventFilter[] withoutSnapshot = Arrays.stream(((LogEventCompositeFilter)filter).getFilters()) .filter(f -> f != LogEventSnapshotBuildFilter.INSTANCE) .toArray(LogEventFilter[]::new); return new LogEventCompositeFilter(withoutSnapshot); } return filter; }