had forgotten to disable local logging

This commit is contained in:
christian 2021-10-25 21:07:56 +02:00
parent e9367f62fa
commit 9c5e4b56d8

View File

@ -70,7 +70,7 @@ public class SentimentAnalyzerTest {
private final Annotation pipelineAnnotation2Sentiment; private final Annotation pipelineAnnotation2Sentiment;
private final CoreDocument pipelineCoreDcoument1; private final CoreDocument pipelineCoreDcoument1;
private final CoreDocument pipelineCoreDcoument2; private final CoreDocument pipelineCoreDcoument2;
private Logger logger = Logger.getLogger("autismlog"); //private Logger logger = Logger.getLogger("autismlog");
private FileHandler fh; private FileHandler fh;
public Integer getTokenizeCounting() { public Integer getTokenizeCounting() {
@ -2363,6 +2363,7 @@ public class SentimentAnalyzerTest {
public SimilarityMatrix callSMX() { public SimilarityMatrix callSMX() {
Double score = -100.0; Double score = -100.0;
/*
try { try {
fh = new FileHandler("E:/stationær backup filer/Projects/ArtificialAutism/logs/autismlog.log"); fh = new FileHandler("E:/stationær backup filer/Projects/ArtificialAutism/logs/autismlog.log");
logger.addHandler(fh); logger.addHandler(fh);
@ -2373,6 +2374,7 @@ public class SentimentAnalyzerTest {
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
*/
//logger.info("Sent1: " + str); //logger.info("Sent1: " + str);
//logger.info("Sent2: " + str1); //logger.info("Sent2: " + str1);
int counter1; int counter1;