New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]Add MDC log format to Linkis for tracking JobID #4553 #4554
[Feature]Add MDC log format to Linkis for tracking JobID #4553 #4554
Conversation
…1-mdc-log # Conflicts: # linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/java/org/apache/linkis/manager/am/service/engine/EngineCreateService.java # linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/pointer/DefaultEMNodPointer.scala # linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/service/engine/DefaultEngineAskEngineService.scala # linkis-dist/package/conf/log4j2.xml
@@ -63,6 +63,7 @@ abstract class AbstractEngineConnLaunchService extends EngineConnLaunchService w | |||
override def launchEngineConn(request: EngineConnLaunchRequest, duration: Long): EngineNode = { | |||
// 1.创建engineConn和runner,launch 并设置基础属性 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a note in English.
…1-mdc-log # Conflicts: # linkis-computation-governance/linkis-computation-governance-common/src/main/scala/org/apache/linkis/governance/common/conf/GovernanceCommonConf.scala
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
What is the purpose of the change
Add the MDC log format to Linkis to track the JobID, which is convenient for locating the cause of task errors
Related issues/PRs
Related issues: #4533
Brief change log
Checklist