LogEventFilter (@NotNull LogEventFilter base, @NotNull EventLogBuildType type) { final EventLogSendConfiguration configuration = getConfiguration(type); if (configuration == null) { DataCollectorDebugLogger logger = myApplicationInfo.getLogger(); if (logger.isTraceEnabled()) { logger.trace("Cannot find send configuration for '" + type + "' -> clean up log file"); } return LogEventFalseFilter.INSTANCE; } return new LogEventCompositeFilter( new LogEventBucketsFilter(configuration.getBuckets()), base, LogEventSnapshotBuildFilter.INSTANCE ); }