Skip to content

Commit 7e2e65b

Browse files
committed
remove unused method
1 parent 71c1514 commit 7e2e65b

File tree

1 file changed

+0
-8
lines changed
  • core/src/main/java/com/dtstack/flink/sql

1 file changed

+0
-8
lines changed

core/src/main/java/com/dtstack/flink/sql/Main.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
import org.slf4j.Logger;
2828
import org.slf4j.LoggerFactory;
2929

30-
import ch.qos.logback.classic.Level;
31-
import ch.qos.logback.classic.LoggerContext;
3230

3331
/**
3432
* Date: 2018/6/26
@@ -45,10 +43,4 @@ public static void main(String[] args) throws Exception {
4543
env.execute(paramsInfo.getName());
4644
LOG.info("program {} execution success", paramsInfo.getName());
4745
}
48-
private static void setLogLevel(String level){
49-
LoggerContext loggerContext= (LoggerContext) LoggerFactory.getILoggerFactory();
50-
//设置全局日志级别
51-
ch.qos.logback.classic.Logger logger = loggerContext.getLogger("root");
52-
logger.setLevel(Level.toLevel(level, Level.INFO));
53-
}
5446
}

0 commit comments

Comments
 (0)