mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 20:50:14 +08:00
Delete log4j2.xml
This commit is contained in:
@@ -1,39 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<configuration status="INFO">
|
|
||||||
<appenders>
|
|
||||||
|
|
||||||
<Console name="consolePrint" target="SYSTEM_OUT">
|
|
||||||
<PatternLayout pattern="%d{YYYY-MM-dd HH:mm:ss,SSS} [%t] %-5level %logger{36} - %msg%n" />
|
|
||||||
</Console>
|
|
||||||
<!--
|
|
||||||
<File name="File" fileName="logs/PipeLineRunner.log">
|
|
||||||
<PatternLayout pattern="%d{YYYY-MM-dd HH:mm:ss,SSS} [%t] %-5level %logger{36} - %msg%n" />
|
|
||||||
</File>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- 输出到文件,按天或者超过80MB分割 -->
|
|
||||||
<RollingFile name="RollingFile" fileName="${catalina.home}/logs/maxkey.log" filePattern="${catalina.home}/logs/$${date:yyyy-MM}/maxkey-%d{yyyy-MM-dd}-%i.log.gz">
|
|
||||||
<!-- 需要记录的级别 -->
|
|
||||||
<!-- <ThresholdFilter level="info" onMatch="ACCEPT" onMismatch="DENY" /> -->
|
|
||||||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss,SSS}:%4p %t (%F:%L) - %m%n" />
|
|
||||||
<Policies>
|
|
||||||
<OnStartupTriggeringPolicy />
|
|
||||||
<TimeBasedTriggeringPolicy />
|
|
||||||
<SizeBasedTriggeringPolicy size="512 MB" />
|
|
||||||
<!-- <SizeBasedTriggeringPolicy size="80 MB" /> -->
|
|
||||||
</Policies>
|
|
||||||
</RollingFile>
|
|
||||||
</appenders>
|
|
||||||
|
|
||||||
<loggers>
|
|
||||||
<Logger name="org.springframework" level="INFO"></Logger>
|
|
||||||
<Logger name="org.apache.logging" level="INFO"></Logger>
|
|
||||||
<Logger name="org.maxkey" level="DEBUG"></Logger>
|
|
||||||
|
|
||||||
|
|
||||||
<root level="INFO">
|
|
||||||
<appender-ref ref="consolePrint" />
|
|
||||||
<appender-ref ref="RollingFile" />
|
|
||||||
</root>
|
|
||||||
</loggers>
|
|
||||||
</configuration>
|
|
||||||
Reference in New Issue
Block a user