Add log level config
This commit is contained in:
@@ -7,6 +7,7 @@ import net.sourceforge.argparse4j.inf.ArgumentParserException;
|
||||
import net.sourceforge.argparse4j.inf.Namespace;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.apache.logging.log4j.ThreadContext;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
@@ -18,9 +19,10 @@ public class App {
|
||||
private static int season;
|
||||
private static int league;
|
||||
private static String configFile;
|
||||
private static final Logger logger = LogManager.getLogger(App.class);
|
||||
private static Logger logger = LogManager.getLogger(App.class);
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
ThreadContext.put("myLogLvl", "INFO");
|
||||
initOptions(args);
|
||||
String sql = "";
|
||||
switch(mode) {
|
||||
|
||||
Reference in New Issue
Block a user