private static void setLogLevel(String level) {
        LoggerContext loggerContext = (LoggerContext) LoggerFactory.getILoggerFactory();
        ch.qos.logback.classic.Logger logger = loggerContext.getLogger("root");
        logger.setLevel(Level.toLevel(level));
    }
@author tiezhu
@Date 2020/7/8 Wed
Company dtstack
localTest/src/main/java/com/dtstack/flink/sql/localTest/LocalTest.java