Browse Source

Remove logger header in task log file (#11555)

3.1.0-release
Wenjun Ruan 2 years ago committed by GitHub
parent
commit
3516533017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-master/src/main/resources/logback-spring.xml
  2. 2
      dolphinscheduler-standalone-server/src/main/resources/logback-spring.xml
  3. 2
      dolphinscheduler-worker/src/main/resources/logback-spring.xml

2
dolphinscheduler-master/src/main/resources/logback-spring.xml

@ -40,7 +40,7 @@
<file>${log.base}/${taskAppId}.log</file>
<encoder>
<pattern>
[%level] %date{yyyy-MM-dd HH:mm:ss.SSS Z} [%thread] %logger{96}:[%line] - %messsage%n
[%level] %date{yyyy-MM-dd HH:mm:ss.SSS Z} - %messsage%n
</pattern>
<charset>UTF-8</charset>
</encoder>

2
dolphinscheduler-standalone-server/src/main/resources/logback-spring.xml

@ -63,7 +63,7 @@
<file>${log.base}/${taskAppId}.log</file>
<encoder>
<pattern>
[%level] %date{yyyy-MM-dd HH:mm:ss.SSS Z} [%thread] %logger{96}:[%line] - [WorkflowInstance-%X{workflowInstanceId:-0}][TaskInstance-%X{taskInstanceId:-0}] - %messsage%n
[%level] %date{yyyy-MM-dd HH:mm:ss.SSS Z} - %messsage%n
</pattern>
<charset>UTF-8</charset>
</encoder>

2
dolphinscheduler-worker/src/main/resources/logback-spring.xml

@ -41,7 +41,7 @@
<file>${log.base}/${taskAppId}.log</file>
<encoder>
<pattern>
[%level] %date{yyyy-MM-dd HH:mm:ss.SSS Z} [%thread] %logger{96}:[%line] - %messsage%n
[%level] %date{yyyy-MM-dd HH:mm:ss.SSS Z} - %messsage%n
</pattern>
<charset>UTF-8</charset>
</encoder>

Loading…
Cancel
Save