File tree Expand file tree Collapse file tree 3 files changed +0
-17
lines changed
src/main/java/com/dtstack/flink/sql/launcher Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change 3434 <artifactId >fastjson</artifactId >
3535 <version >1.2.7</version >
3636 </dependency >
37- <dependency >
38- <groupId >com.aiweiergou</groupId >
39- <artifactId >tools-logger</artifactId >
40- <version >${logger.tool.version} </version >
41- </dependency >
4237 </dependencies >
4338
4439 <build >
Original file line number Diff line number Diff line change 2020
2121package com .dtstack .flink .sql .launcher ;
2222
23- import com .aiweiergou .tool .logger .api .ChangeLogLevelProcess ;
2423import com .dtstack .flink .sql .constrant .ConfigConstrant ;
2524import com .google .common .collect .Lists ;
2625import com .alibaba .fastjson .JSON ;
@@ -84,8 +83,6 @@ public static void main(String[] args) throws Exception {
8483 confProp = URLDecoder .decode (confProp , Charsets .UTF_8 .toString ());
8584 Properties confProperties = PluginUtil .jsonStrToObject (confProp , Properties .class );
8685
87- setLogLevel (confProperties .getProperty (ConfigConstrant .LOG_LEVEL_KEY ));
88-
8986 if (mode .equals (ClusterMode .local .name ())) {
9087 String [] localArgs = argList .toArray (new String [argList .size ()]);
9188 Main .main (localArgs );
@@ -149,12 +146,4 @@ private static String[] parseJson(String[] args) {
149146 String [] array = list .toArray (new String [list .size ()]);
150147 return array ;
151148 }
152-
153- private static void setLogLevel (String logLevel ){
154- if (org .apache .commons .lang3 .StringUtils .isBlank (logLevel )){
155- return ;
156- }
157- ChangeLogLevelProcess logLevelProcess = new ChangeLogLevelProcess ();
158- logLevelProcess .process (logLevel );
159- }
160149}
Original file line number Diff line number Diff line change 4141 <properties >
4242 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
4343 <flink .version>1.8.1</flink .version>
44- <logger .tool.version>1.0.0-SNAPSHOT</logger .tool.version>
4544 </properties >
4645
4746 <build >
You can’t perform that action at this time.
0 commit comments