choucmei opened a new pull request #6731: URL: https://github.com/apache/dolphinscheduler/pull/6731
<!--Thanks very much for contributing to Apache DolphinScheduler. Please review https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html before opening a pull request.--> ## Purpose of the pull request * Reduce the creation of log directories * Consider that schedulerTime may be null,and taskExecutionContext does not have submitTime, so use firstSubmitTime as the task log path ## Brief change log 1. Use firstSubmitTime as the task log path 2. TaskLogName: [taskAppId=TASK-798_1-4084-15210] -> [taskAppId=TASK-20211107-798_1-4084-15210] 3. TaskLogPath: /logs/defintion/code_defintion_version/processInstanceId/taskInstanceId.log->/logs/YYYYMMDD/defintion-code_defintion_version-processInstanceId-taskInstanceId.log ## Verify this pull request LoggerUtils,LogUtilsTest is already covered by existing tests, others pass local test. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
