63 lines
2.7 KiB
XML
63 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
This is a kingdee cosmic template project that is automatically generated by the Kingdee cosmic development assistant plugin.
|
|
If there are any issues during the use process, you can provide feedback to the kingdee developer community website.
|
|
Website: https://developer.kingdee.com/developer?productLineId=29
|
|
Author: liebin.zheng
|
|
Generate Date: 2024-07-03 10:20:57
|
|
-->
|
|
<configuration>
|
|
|
|
<property name="LOG_DIR" value="logs"/>
|
|
<property name="LOG_PATTERN" value="%d{yyyy-MM-dd HH:mm:ss.SSS} %5p ${PID:- } --- [%t] %-40.40logger{39} : %m%n"/>
|
|
|
|
<logger name="org.apache.catalina.startup.DigesterFactory" level="ERROR"/>
|
|
<logger name="org.apache.catalina.util.LifecycleBase" level="ERROR"/>
|
|
<logger name="org.apache.coyote.http11.Http11NioProtocol" level="WARN"/>
|
|
<logger name="org.apache.sshd.common.util.SecurityUtils" level="WARN"/>
|
|
<logger name="org.apache.tomcat.util.net.NioSelectorPool" level="WARN"/>
|
|
<logger name="org.eclipse.jetty.util.component.AbstractLifeCycle" level="ERROR"/>
|
|
<logger name="org.hibernate.validator.internal.util.Version" level="WARN"/>
|
|
<logger name="org.springframework.boot.actuate.endpoint.jmx" level="WARN"/>
|
|
|
|
<logger name="kd.bos.dc.utils.AccountUtils" level="WARN"/>
|
|
<logger name="kd.bos.license" level="WARN"/>
|
|
<logger name="org.apache.zookeeper" level="WARN"/>
|
|
<logger name="kd.bos.portal.pluginnew" level="WARN" />
|
|
|
|
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
|
|
<encoder>
|
|
<pattern>${LOG_PATTERN}</pattern>
|
|
</encoder>
|
|
</appender>
|
|
<!--
|
|
<appender name="FILE"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<encoder>
|
|
<pattern>${LOG_PATTERN}</pattern>
|
|
</encoder>
|
|
<file>${LOG_DIR}/cosmic_out.log</file>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<cleanHistoryOnStart>false</cleanHistoryOnStart>
|
|
<fileNamePattern>${LOG_DIR}/cosmic_out_%d{yyyyMMdd}_%i.log</fileNamePattern>
|
|
<maxFileSize>10MB</maxFileSize>
|
|
<maxHistory>7</maxHistory>
|
|
<totalSizeCap>0</totalSizeCap>
|
|
</rollingPolicy>
|
|
</appender>
|
|
-->
|
|
<appender name="kafka" class="kd.bos.logging.console.slf4j.logback.KafkaAppender">
|
|
<topic>{{clusterName}}-log</topic>
|
|
<brokerList>{{log.kafka.ip_port}}</brokerList>
|
|
<compressionType>none</compressionType>
|
|
<syncSend>false</syncSend>
|
|
<keySerializerClass>org.apache.kafka.common.serialization.StringSerializer</keySerializerClass>
|
|
<valueSerializerClass>org.apache.kafka.common.serialization.StringSerializer</valueSerializerClass>
|
|
</appender>
|
|
|
|
<root level="INFO">
|
|
<appender-ref ref="CONSOLE" />
|
|
<appender-ref ref="kafka" />
|
|
</root>
|
|
|
|
</configuration> |