Skip to content

Commit

Permalink
replace with log4j and fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
marevol committed Dec 31, 2024
1 parent 15914a0 commit 01b3a96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/codelibs/fess/ds/csv/CsvDataStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
import java.util.regex.Pattern;

import org.apache.commons.text.StringEscapeUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.codelibs.core.io.CloseableUtil;
import org.codelibs.core.lang.StringUtil;
import org.codelibs.fess.Constants;
Expand All @@ -46,15 +48,13 @@
import org.codelibs.fess.helper.CrawlerStatsHelper.StatsAction;
import org.codelibs.fess.helper.CrawlerStatsHelper.StatsKeyObject;
import org.codelibs.fess.util.ComponentUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.orangesignal.csv.CsvConfig;
import com.orangesignal.csv.CsvReader;

public class CsvDataStore extends AbstractDataStore {

private static final Logger logger = LoggerFactory.getLogger(CsvDataStore.class);
private static final Logger logger = LogManager.getLogger(CsvDataStore.class);

protected static final String ESCAPE_CHARACTER_PARAM = "escape_character";

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/codelibs/fess/ds/csv/CsvListDataStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import java.io.File;
import java.util.Map;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.codelibs.core.lang.StringUtil;
import org.codelibs.fess.Constants;
import org.codelibs.fess.crawler.client.CrawlerClientFactory;
Expand All @@ -27,14 +29,12 @@
import org.codelibs.fess.es.config.exentity.DataConfig;
import org.codelibs.fess.exception.DataStoreException;
import org.codelibs.fess.util.ComponentUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.orangesignal.csv.CsvConfig;

public class CsvListDataStore extends CsvDataStore {

private static final Logger logger = LoggerFactory.getLogger(CsvListDataStore.class);
private static final Logger logger = LogManager.getLogger(CsvListDataStore.class);

protected static final String TIMESTAMP_MARGIN = "timestamp_margin";

Expand Down

0 comments on commit 01b3a96

Please sign in to comment.