|
|
@ -128,6 +128,13 @@ public class Main {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
|
|
|
|
|
|
String frogRunnerMode = System.getenv("FROG_RUNNER_MODE");
|
|
|
|
|
|
|
|
if (frogRunnerMode != null) {
|
|
|
|
|
|
|
|
if (frogRunnerMode.equals("TERMINAL")) {
|
|
|
|
|
|
|
|
executionMode = ExecutionMode.TERMINAL;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BasicConfigurator.configure();
|
|
|
|
BasicConfigurator.configure();
|
|
|
|
LogManager.getRootLogger().setLevel(Level.OFF);
|
|
|
|
LogManager.getRootLogger().setLevel(Level.OFF);
|
|
|
|
LogManager.getLogger("at.compax.tools.sql.main").setLevel(executionMode.getLoggingLevel());
|
|
|
|
LogManager.getLogger("at.compax.tools.sql.main").setLevel(executionMode.getLoggingLevel());
|
|
|
|