WANG 5 年之前
父节点
当前提交
cb45468c03
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      examcloud-exchange-starter/src/main/resources/log4j2.xml

+ 3 - 2
examcloud-exchange-starter/src/main/resources/log4j2.xml

@@ -36,8 +36,9 @@
 			</Policies>
 			<DefaultRolloverStrategy max="10000">
 				<Delete basePath="./logs/interface" maxDepth="1">
-					<IfFileName glob="interface-*.log" />
-					<IfAccumulatedFileSize exceeds="10 GB" />
+					<IfFileName glob="interface-*.log">
+						<IfAccumulatedFileSize exceeds="10 GB" />
+					</IfFileName>
 				</Delete>
 			</DefaultRolloverStrategy>
 		</RollingFile>