WANG 5 ani în urmă
părinte
comite
cb45468c03
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  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>
 			</Policies>
 			<DefaultRolloverStrategy max="10000">
 			<DefaultRolloverStrategy max="10000">
 				<Delete basePath="./logs/interface" maxDepth="1">
 				<Delete basePath="./logs/interface" maxDepth="1">
-					<IfFileName glob="interface-*.log" />
-					<IfAccumulatedFileSize exceeds="10 GB" />
+					<IfFileName glob="interface-*.log">
+						<IfAccumulatedFileSize exceeds="10 GB" />
+					</IfFileName>
 				</Delete>
 				</Delete>
 			</DefaultRolloverStrategy>
 			</DefaultRolloverStrategy>
 		</RollingFile>
 		</RollingFile>