File tree 3 files changed +0
-17
lines changed
src/main/java/com/dtstack/flink/sql/launcher
3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change 34
34
<artifactId >fastjson</artifactId >
35
35
<version >1.2.7</version >
36
36
</dependency >
37
- <dependency >
38
- <groupId >com.aiweiergou</groupId >
39
- <artifactId >tools-logger</artifactId >
40
- <version >${logger.tool.version} </version >
41
- </dependency >
42
37
</dependencies >
43
38
44
39
<build >
Original file line number Diff line number Diff line change 20
20
21
21
package com .dtstack .flink .sql .launcher ;
22
22
23
- import com .aiweiergou .tool .logger .api .ChangeLogLevelProcess ;
24
23
import com .dtstack .flink .sql .constrant .ConfigConstrant ;
25
24
import com .google .common .collect .Lists ;
26
25
import com .alibaba .fastjson .JSON ;
@@ -84,8 +83,6 @@ public static void main(String[] args) throws Exception {
84
83
confProp = URLDecoder .decode (confProp , Charsets .UTF_8 .toString ());
85
84
Properties confProperties = PluginUtil .jsonStrToObject (confProp , Properties .class );
86
85
87
- setLogLevel (confProperties .getProperty (ConfigConstrant .LOG_LEVEL_KEY ));
88
-
89
86
if (mode .equals (ClusterMode .local .name ())) {
90
87
String [] localArgs = argList .toArray (new String [argList .size ()]);
91
88
Main .main (localArgs );
@@ -149,12 +146,4 @@ private static String[] parseJson(String[] args) {
149
146
String [] array = list .toArray (new String [list .size ()]);
150
147
return array ;
151
148
}
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
- }
160
149
}
Original file line number Diff line number Diff line change 41
41
<properties >
42
42
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
43
43
<flink .version>1.8.1</flink .version>
44
- <logger .tool.version>1.0.0-SNAPSHOT</logger .tool.version>
45
44
</properties >
46
45
47
46
<build >
You can’t perform that action at this time.
0 commit comments