private void initializeFilter() throws CustomFilterException {
		String regExFilter = this.configuration.getRegExFilter();
		if (regExFilter == null) {
			String[] customFilter = this.configuration.getCustomFilter();
			if (customFilter == null) {
				this.logger.setFilter(null);
			} else {
				CustomFactory filterFactory = new CustomFactory();
				this.logger.setFilter(filterFactory.createCustomFilter(customFilter[0], java.util.Arrays.copyOfRange(customFilter, 1, customFilter.length)));
			}
		} else {
			this.logger.setFilter(new RegexFilter(regExFilter));
		}
	}