zhuangchong commented on a change in pull request #3825:
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/3825#discussion_r529362486
##########
File path:
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/TaskInstanceController.java
##########
@@ -95,11 +110,20 @@ public Result queryTaskListPaging(@ApiIgnore
@RequestAttribute(value = Constants
@RequestParam("pageNo") Integer pageNo,
@RequestParam("pageSize") Integer
pageSize) {
- logger.info("query task instance list, project name:{},process
instance:{}, search value:{},task name:{}, executor name: {},state type:{},
host:{}, start:{}, end:{}",
- projectName, processInstanceId, searchVal, taskName,
executorName, stateType, host, startTime, endTime);
+ logger.info("query task instance list, projectName:{},
processInstanceId:{}, processInstanceName:{}, search value:{}, taskName:{},
executorName: {}, stateType:{}, host:{}, start:{}, end:{}",
+ StringUtils.replaceNRTtoUnderline(projectName),
+ processInstanceId,
+ StringUtils.replaceNRTtoUnderline(processInstanceName),
+ StringUtils.replaceNRTtoUnderline(searchVal),
+ StringUtils.replaceNRTtoUnderline(taskName),
Review comment:
I add a null operation in StringUtils.replaceNRTtoUnderline
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]