Skip to content

Commit

Permalink
yet another logger fix
Browse files Browse the repository at this point in the history
  • Loading branch information
psenin-sanofi committed Dec 27, 2021
1 parent 95f5ce4 commit a4c2bb1
Showing 1 changed file with 11 additions and 4 deletions.
@@ -1,11 +1,11 @@
package net.seninp.jmotif.sax.motif;

import java.util.ArrayList;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import net.seninp.jmotif.distance.EuclideanDistance;
import net.seninp.jmotif.sax.TSProcessor;
import net.seninp.jmotif.sax.discord.BruteForceDiscordImplementation;

/**
* Implements the motif discovery routines.
Expand All @@ -15,8 +15,15 @@
*/
public class BruteForceMotifImplementation {

private static final Logger LOGGER = LoggerFactory
.getLogger(BruteForceDiscordImplementation.class);
// logging stuff
//
private static final Logger LOGGER;
private static final Level LOGGING_LEVEL = Level.INFO;

static {
LOGGER = (Logger) LoggerFactory.getLogger(BruteForceMotifImplementation.class);
LOGGER.setLevel(LOGGING_LEVEL);
}

private static TSProcessor tp = new TSProcessor();
private static EuclideanDistance ed = new EuclideanDistance();
Expand Down

0 comments on commit a4c2bb1

Please sign in to comment.