WANG 5 лет назад
Родитель
Сommit
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>