未验证 提交 2ef65c53 编写于 作者: journey2018's avatar journey2018 提交者: GitHub

logger log filter modify path not contains dot (#666)

* Filtering the log of one task to the log of another task

* Filtering the log of one task to the log of another task update

* rollback

* The log shows confusion

* update loggerserver

* update

* datasource connect error modify

* rollback code,logger server log filter ,process variables modify local variables

* Client ip changes, sessionId cannot be accessed modify

* mr and spark task tenant queue set error modify

* tenant queryById modify

* update

* update

* update

* update

* TaskSchedulerThread TaskProps setTenantCode

* logger filter modify

* logger log filter modify path not contains dot
上级 715b696d
......@@ -196,7 +196,7 @@ public class LoggerServer {
errorLineFlag = filterLine(path,line);
}
if (!errorLineFlag || !line.startsWith("TaskLogger")){
if (!errorLineFlag || !line.contains("TaskLogger")){
sb.append(line + "\r\n");
}
}
......@@ -224,7 +224,7 @@ public class LoggerServer {
* @return
*/
private static boolean filterLine(String path,String line){
String removeSuffix = path.split("\\.")[0];
String removeSuffix = path.substring(0, path.length() - 4);
String[] strArrs = removeSuffix.split("/");
String taskAppId = String.format("%s_%s_%s",
strArrs[strArrs.length - 3],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册