|
|
|
@ -33,9 +33,9 @@
|
|
|
|
|
<conversionRule conversionWord="messsage" |
|
|
|
|
converterClass="org.apache.dolphinscheduler.server.log.SensitiveDataConverter"/> |
|
|
|
|
<appender name="TASKLOGFILE" class="ch.qos.logback.classic.sift.SiftingAppender"> |
|
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
|
|
|
|
<!-- <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
|
|
|
|
<level>INFO</level> |
|
|
|
|
</filter> |
|
|
|
|
</filter> --> |
|
|
|
|
<filter class="org.apache.dolphinscheduler.server.log.TaskLogFilter"/> |
|
|
|
|
<Discriminator class="org.apache.dolphinscheduler.server.log.TaskLogDiscriminator"> |
|
|
|
|
<key>taskAppId</key> |
|
|
|
@ -56,10 +56,9 @@
|
|
|
|
|
</appender> |
|
|
|
|
<appender name="WORKERLOGFILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|
|
|
|
<file>${log.base}/dolphinscheduler-worker.log</file> |
|
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
|
|
|
|
<!-- <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
|
|
|
|
<level>INFO</level> |
|
|
|
|
</filter> |
|
|
|
|
<filter class="org.apache.dolphinscheduler.server.log.WorkerLogFilter"/> |
|
|
|
|
</filter> --> |
|
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> |
|
|
|
|
<fileNamePattern>${log.base}/dolphinscheduler-worker.%d{yyyy-MM-dd_HH}.%i.log</fileNamePattern> |
|
|
|
|
<maxHistory>168</maxHistory> |
|
|
|
|