You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
c68785632f
2.0.7-release
2.0.8-release
2.0.9-release
3.0.0-release
3.0.0/version-upgrade
3.0.1-release
3.0.2-release
3.0.3-release
3.0.4-release
3.0.5-release
3.0.6-release
3.1.0-release
3.1.1-release
3.1.2-release
3.1.3-release
3.1.4-release
3.1.5-release
3.1.6-release
3.1.7-release
3.1.8-release
3.1.9-release
3.2.0-release
3.2.1-prepare
3.2.1-release
3.2.2-prepare
3.2.2-release
3.2.2-release-bak
dev
dev_wenjun_refactorMaster
upstream-dev
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
1.1.0-preview
1.2.0
1.2.1
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.8
1.3.9
2.0.0
2.0.0-alpha
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
3.0.0
3.0.0-alpha
3.0.0-beta-1
3.0.0-beta-2
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.1.0
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6
3.1.7
3.1.8
3.1.9
3.2.0
3.2.1
3.2.2
test
v2.3.3
v2.3.4.202211081355
v2.3.4.202211091515
vdev-20220412-1028
vdev-20220414-1341
${ noResults }
DolphinScheduler/docker/build/conf/dolphinscheduler/logback/logback-master.xml
82 lines
3.5 KiB
82 lines
3.5 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|||
<!--
|
|||
~ Licensed to the Apache Software Foundation (ASF) under one or more
|
|||
~ contributor license agreements. See the NOTICE file distributed with
|
|||
~ this work for additional information regarding copyright ownership.
|
|||
~ The ASF licenses this file to You under the Apache License, Version 2.0
|
|||
~ (the "License"); you may not use this file except in compliance with
|
|||
~ the License. You may obtain a copy of the License at
|
|||
~
|
|||
~ http://www.apache.org/licenses/LICENSE-2.0
|
|||
~
|
|||
~ Unless required by applicable law or agreed to in writing, software
|
|||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
~ See the License for the specific language governing permissions and
|
|||
~ limitations under the License.
|
|||
-->
|
|||
|
|||
<!-- Logback configuration. See http://logback.qos.ch/manual/index.html -->
|
|||
<configuration scan="true" scanPeriod="120 seconds"> <!--debug="true" -->
|
|||
|
|||
<property name="log.base" value="logs"/>
|
|||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
|||
<encoder>
|
|||
<pattern>
|
|||
[%level] %date{yyyy-MM-dd HH:mm:ss.SSS} %logger{96}:[%line] - %msg%n
|
|||
</pattern>
|
|||
<charset>UTF-8</charset>
|
|||
</encoder>
|
|||
</appender>
|
|||
|
|||
<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">
|
|||
<level>INFO</level>
|
|||
</filter>
|
|||
<filter class="org.apache.dolphinscheduler.server.log.TaskLogFilter"/>
|
|||
<Discriminator class="org.apache.dolphinscheduler.server.log.TaskLogDiscriminator">
|
|||
<key>taskAppId</key>
|
|||
|
<logBase>${log.base}</logBase>
|
||
</Discriminator>
|
|||
<sift>
|
|||
<appender name="FILE-${taskAppId}" class="ch.qos.logback.core.FileAppender">
|
|||
<file>${log.base}/${taskAppId}.log</file>
|
|||
<encoder>
|
|||
<pattern>
|
|||
[%level] %date{yyyy-MM-dd HH:mm:ss.SSS} %logger{96}:[%line] - %messsage%n
|
|||
</pattern>
|
|||
<charset>UTF-8</charset>
|
|||
</encoder>
|
|||
<append>true</append>
|
|||
</appender>
|
|||
</sift>
|
|||
</appender>
|
|||
<!-- master server logback config start -->
|
|||
<appender name="MASTERLOGFILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|||
<file>${log.base}/dolphinscheduler-master.log</file>
|
|||
<!--<filter class="org.apache.dolphinscheduler.server.log.MasterLogFilter">
|
|||
<level>INFO</level>
|
|||
</filter>-->
|
|||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|||
<fileNamePattern>${log.base}/dolphinscheduler-master.%d{yyyy-MM-dd_HH}.%i.log</fileNamePattern>
|
|||
<maxHistory>168</maxHistory>
|
|||
<maxFileSize>200MB</maxFileSize>
|
|||
</rollingPolicy>
|
|||
<encoder>
|
|||
<pattern>
|
|||
[%level] %date{yyyy-MM-dd HH:mm:ss.SSS} %logger{96}:[%line] - %msg%n
|
|||
</pattern>
|
|||
<charset>UTF-8</charset>
|
|||
</encoder>
|
|||
</appender>
|
|||
<!-- master server logback config end -->
|
|||
|
|||
<root level="INFO">
|
|||
<appender-ref ref="STDOUT"/>
|
|||
<appender-ref ref="TASKLOGFILE"/>
|
|||
<appender-ref ref="MASTERLOGFILE"/>
|
|||
</root>
|
|||
|
|||
</configuration>
|